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
相關文章
相關標籤/搜索