Procfiles reports fstat and FCNTL information for all open files in each process.
procfiles报告每个进程中所有打开的文件的fstat和fcntl信息。
This means use the fchown , fstat , or fchmod system calls, instead of the functions taking file names, such as chown , CHGRP , and chmod .
这意味着要使用fchown 、fstat或fchmod系统调用,而不使用取得文件名的函数,比如chown 、chgrp和chmod 。
The stat() function fills a struct stat structure with information about a specific file; if you've got a file descriptor instead of a file name, you can use the fstat() function instead.
stat()函数会将特定文件的相关信息填入struct stat结构中,如果您获得的是文件描述符而不是文件名,那么作为替代,您可以使用fstat() 函数。
The stat() function fills a struct stat structure with information about a specific file; if you've got a file descriptor instead of a file name, you can use the fstat() function instead.
stat()函数会将特定文件的相关信息填入struct stat结构中,如果您获得的是文件描述符而不是文件名,那么作为替代,您可以使用fstat() 函数。
应用推荐