(1)int fcntl(int fd, int cmd, int arg);
对已打开的文件描述符进行各种操作。
(2) char* getwd(char* pathbuf);
char* gectwd(char* pathbuf, size_t size);
确定调用进程当前工作目录的绝对路径名
(3)int chdir(const char* pathname);
重新指定调用进程的的当前工作路径
(4)DIR* opendir(const char* pathname);
打开目录文件
(5)direct* readdir(DIR *dp);
读取目录内容
(6)int closedir(DIR* dp);
关闭目录
(7)int link(const char* oldpath, const *newpath);
建立链接,硬链接
(8) int symlink(const char* path1, const char* sympath);
建立链接,符号链接