mirror of https://github.com/mkerrisk/man-pages
stat.2: Note feature test macro requirements for blkcnt_t and blksize_t
Reported-by: Andries E. Brouwer <Andries.Brouwer@cwi.nl> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
3ba63d802e
commit
34c909ac11
13
man2/stat.2
13
man2/stat.2
|
@ -37,7 +37,7 @@
|
|||
.\" 2007-06-08 mtk: Added example program
|
||||
.\" 2007-07-05 mtk: Added details on underlying system call interfaces
|
||||
.\"
|
||||
.TH STAT 2 2010-09-20 "Linux" "Linux Programmer's Manual"
|
||||
.TH STAT 2 2010-09-26 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
stat, fstat, lstat \- get file status
|
||||
.SH SYNOPSIS
|
||||
|
@ -370,6 +370,17 @@ fields may be less portable.
|
|||
(They were introduced in BSD.
|
||||
The interpretation differs between systems,
|
||||
and possibly on a single system when NFS mounts are involved.)
|
||||
If you need to obtain the definition of the
|
||||
.IR blkcnt_t
|
||||
or
|
||||
.IR blksize_t
|
||||
types from
|
||||
.IR <sys/stat.h> ,
|
||||
then define
|
||||
.BR _XOPEN_SOURCE
|
||||
with the value 500 or greater (before including
|
||||
.I any
|
||||
header files).
|
||||
.LP
|
||||
POSIX does not describe the
|
||||
.BR S_IFMT ,
|
||||
|
|
Loading…
Reference in New Issue