- 博客(1)
- 收藏
- 关注
原创 linux系统编程之文件编程
文件打开及创建 打开文件使用open函数及使用该函数所包含的头文件: #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int open(const char *pathname,int flags); int open(const char *pathname,int flags,mode_t mode); 参数说明: 1.pathname:要打开的文件名(含路径,缺省为当前路径) 2.f
2020-09-12 22:48:25
350
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人