1706

作者: yueyue216 | 来源:发表于2017-01-06 16:17 被阅读0次

文件操作

打开文件

使用open函数和create函数打开和创建文件

   #include<stdio.h>
   #include<unistd.h>
  int main()
  {
       printf("the proce id is %d\n",getpid());
       printf("the parent process id is%d\n",getpid());
       return 0;      
}

读写文件

1.打开文件
函数

定位文件

相关文章

网友评论

      本文标题:1706

      本文链接:https://www.haomeiwen.com/subject/jvotbttx.html