linux操做系统读写文件操做(c语言)

(一)open系统的调用 为了建立一个新的文件描述,须要使用系统调用openweb #include<fcntl.h> #include<sys/types.h> #include<sys/stat.h> int open(const char* path,int oflags); int open(const char* path,int oflags,mode_t mode);//mode_t
相关文章
相关标签/搜索