linux 平台下C语言建立文件

#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> void create_file(char *filename){ if(creat(filename,0755)<0){ printf("creat
相关文章
相关标签/搜索