开发者

Does the st_ino field of struct stat give information about permissions?

Does st_ino give us any information about permission settings of a fil开发者_开发百科e? If yes how? I thought only st_gid, st_uid and similar data members stored information related to permissions.


st_ino is just the inode number - it is an ino_t which is typedef'd and/or #defined in a system, filesystem, and compiler implementation specific way, but is generally an int, long, or int64.

It contains no information about permissions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜