摘要:
设置工作目录: #include <unistd.h> int chdir(const char *path); int fchdir(int fd); chdir() changes the current working directory of the calling process to t 阅读全文
摘要:
int rename(const char *oldpath, const char *newpath); rename() renames a file, moving it between directories if required. 利用rename实现简单的mv指令 文件的删除可以使用u 阅读全文