statx.2: statx() has no wrapper and must be called using syscall()

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2017-04-23 12:01:36 +02:00
parent e6fc15962c
commit f49a8cccd5
1 changed files with 11 additions and 15 deletions

View File

@ -41,19 +41,11 @@ statx \- get file status (extended)
.BI "int statx(int " dirfd ", const char *" pathname ", int " flags ","
.BI " unsigned int " mask ", struct statx *" buf );
.fi
.sp
.in -4n
Feature Test Macro Requirements for glibc (see
.BR feature_test_macros (7)):
.in
.ad l
.PD 0
.sp
.RS 4
<unknown as yet>
.RE
.PD
.ad
.IR Note :
There is no glibc wrapper for
.BR renameat2 ();
see NOTES.
.SH DESCRIPTION
.PP
This function returns information about a file, storing it in the buffer
@ -475,8 +467,12 @@ is relative and
is a file descriptor referring to a file other than a directory.
.SH VERSIONS
.BR statx ()
was added to Linux in kernel 4.11;
library support is not yet added to glibc.
was added to Linux in kernel 4.11.
.SH NOTES
Glibc does not (yet) provide a wrapper for the
.BR statx ()
system call; call it using
.BR syscall (2).
.SH SEE ALSO
.BR ls (1),
.BR stat (1),