mirror of https://github.com/mkerrisk/man-pages
getdents.2: Mention glibc support for getdents64()
Support was added in glibc 2.30. Signed-off-by: Petr Vorel <pvorel@suse.cz> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
15a8a16b8e
commit
f5f6969dee
|
@ -40,7 +40,8 @@ getdents, getdents64 \- get directory entries
|
|||
.fi
|
||||
.PP
|
||||
.IR Note :
|
||||
There are no glibc wrappers for these system calls; see NOTES.
|
||||
There is no glibc wrapper for getdents().
|
||||
Wrapper for getdents64() was added in glibc 2.30; see NOTES.
|
||||
.SH DESCRIPTION
|
||||
These are not the interfaces you are interested in.
|
||||
Look at
|
||||
|
@ -203,9 +204,11 @@ File descriptor does not refer to a directory.
|
|||
SVr4.
|
||||
.\" SVr4 documents additional ENOLINK, EIO error conditions.
|
||||
.SH NOTES
|
||||
Glibc does not provide a wrapper for these system calls; call them using
|
||||
Library support for getdents64() was added in glibc 2.30;
|
||||
there is no glibc wrapper for getdents();
|
||||
call getdents() (or getdents64() on earlier versions) requires using
|
||||
.BR syscall (2).
|
||||
You will need to define the
|
||||
In that case you will need to define the
|
||||
.I linux_dirent
|
||||
or
|
||||
.I linux_dirent64
|
||||
|
|
Loading…
Reference in New Issue