摘要: 打开和关闭文件 #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> //flags参数指明了进程打算如何访问这个文件:O_RDONLY,O_WRONLY,O_RDWR,O_CREAT,O_TRUNC,O_APPEND //m 阅读全文
posted @ 2022-04-01 22:13 xing_l 阅读(37) 评论(0) 推荐(0)