自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Lolita1997的博客

小菜鸟的窝。

  • 博客(4)
  • 收藏
  • 关注

原创 进程间通信(1)-有名管道

1)进程间通信的方式: 管道(有名) 2)有名管道的通信原理:通过在内存上开辟一块全新的空间,两个相互独立的进程通过文件描述符操纵这块独立的空间 3)使用对象:相互独立的 进程 4)创建函数:mkfifo命令 mkfifo(), 5)使用的函数 : 1.打开管道文件 int open(char *filename ,int oflag)//返回文件标识符fi

2017-09-30 17:49:55 298

原创 Linux-my_bash(cd)

#include <stdio.h>#include <unistd.h>#include <string.h>#include <stdlib.h>#include <assert.h>#include <sys/types.h>#include <sys/utsname.h>#include <pwd.h>#define LEN 10char* Cmd[LEN] = {0};//

2017-09-28 16:55:17 652

原创 linux -my ls

这里写代码片#include #include #include #include #include #include #include #include void main(){ char path[128] = {0}; getcwd(path,127);//获取当前路径 if(strlen(path) == 0)//路径位空时返回

2017-09-24 18:20:57 689

原创 队列实现二叉树的遍历

#include<stdio.h>#include<assert.h>#define QUEUESIZE 8#define INC 2 //扩容增量为2typedef int QueueElemtypedef struct Queue{ QueueElem *data; int front; int tail; int maxsize;//最大的

2017-09-24 09:02:35 426

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除