fchown_2gfchown-CSDN博客

网站介绍:相关函数:chown, lchown, chmod头文件:#include #include 定义函数:int fchown(int fd, uid_t owner, gid_t group);函数说明:fchown()会将参数fd 指定文件的所有者变更为参数owner 代表的用户,而将该文件的组变更为参数group 组。如果参数owner 或group 为-1,对应_2gfchown