摘要: 1. truncate(const char* pathname, off_t lenth) 修改文件大小 ( #include<unistd.h> #include<sys/types.h> ) 第一个参数:文件路径名称,第二个参数:指定大小,比原来小就是删除,大了就是扩充; 2.chmod 修改 阅读全文
posted @ 2023-06-24 00:04 蔡依林别吸我 阅读(20) 评论(0) 推荐(0)