информация об индексном дескрипторе файла (file inode information)
Стандарты (Conforming to)
If you need to obtain the definition of the blkcnt_t or blksize_t
types from <sys/stat.h>, then define _XOPEN_SOURCE
with the value
500 or greater (before including any header files).
POSIX.1-1990 did not describe the S_IFMT
, S_IFSOCK
, S_IFLNK
,
S_IFREG
, S_IFBLK
, S_IFDIR
, S_IFCHR
, S_IFIFO
, and S_ISVTX
constants, but instead specified the use of the macros S_ISDIR
()
and so on. The S_IF*
constants are present in POSIX.1-2001 and
later.
The S_ISLNK
() and S_ISSOCK
() macros were not in POSIX.1-1996, but
both are present in POSIX.1-2001; the former is from SVID 4, the
latter from SUSv2.
UNIX V7 (and later systems) had S_IREAD
, S_IWRITE
, S_IEXEC
, and
where POSIX prescribes the synonyms S_IRUSR
, S_IWUSR
, and
S_IXUSR
.