mirror of https://github.com/mkerrisk/man-pages
statx.2: SYNOPSIS: Fix includes
<unistd.h> doesn't seem to be needed: AT_* constants come from <fcntl.h> STATX_* constants come from <sys/stat.h> 'struct statx' comes from <sys/stat.h> Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
c8b91df19e
commit
c9f3f8494c
|
@ -32,9 +32,8 @@
|
|||
statx \- get file status (extended)
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.BR "#include <fcntl.h> " "/* Definition of " AT_* " constants */"
|
||||
.B #include <sys/stat.h>
|
||||
.B #include <unistd.h>
|
||||
.BR "#include <fcntl.h> " "/* Definition of AT_* constants */"
|
||||
.PP
|
||||
.BI "int statx(int " dirfd ", const char *restrict " pathname ", int " flags ,
|
||||
.BI " unsigned int " mask ", struct statx *restrict " statxbuf );
|
||||
|
|
Loading…
Reference in New Issue