自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 main 函数第三个参数

This is G o o g l es cache of http://elearning.embnet.org/file.php/29/ctutorial/Environme

2007-09-18 17:21:00 792

转载 execpl

我是刚开始学习unix 编程,我想大家肯定经常会碰到execlp函数我碰到的第一个例子就是execlp("ls","ls","-a",(char *)0)我不是没有看手册,手册中是这样写的:int execlp(const char *path, const char *arg,...);我当时觉得ls就是对应的char *path, 那么第二个ls就是参数了这样就不对了。我就到版上请教,有人告诉

2007-09-18 15:26:00 1060

转载 wait&exec

wait, waitpid - wait for process to change stateSynopsis#include sys/types.h>#include sys/wait.h>pid_t wait(int *status);pid_t waitpid(pid_t pid, int *status, int options);int waitid(idtype_t id

2007-09-18 13:23:00 649

转载 linux fork()函数学习

#include #include #include int main(){    pid_t pid;    static int n = 0;    printf("fork!/n"); /*printf("fork!")*/    switch (pid = fork())    {        case -1:        {            /* 这里pid为-1,fork函数

2007-09-18 11:08:00 1450

空空如也

空空如也

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

TA关注的人

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