网站介绍:open函数头文件:#include <sys/types.h>#includ <sys/sta.h>#include<fctnl.h>形式:int open(const char* pathname,int flags);int open(const char* pathname,int flags,mode_t mode);返回值:成功:新打开的文件描述符失败:-1open返回的文件描述符一定是最小的而且没有被使用的功能:打开, 创建, 读写_linux ftruncate
- 链接地址:https://renguodong.blog.csdn.net/article/details/116917402
- 链接标题:Linux文件操作函数open、read、 write、lseek、ftruncate(linuxC编程篇)_linux ftruncate_栋哥爱做饭的博客-CSDN博客
- 所属网站:renguodong.blog.csdn.net
- 被收藏次数:5004
- 网站标签:linux ftruncate