mirror of https://github.com/mkerrisk/man-pages
getdents.2: The programmer must define the linux_dirent structure
Point out that this structure is not defined in glibc headers. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
affa1ac7b6
commit
64150629a7
|
@ -24,7 +24,7 @@
|
|||
.\" Modified 22 July 1995 by Michael Chastain <mec@duracef.shout.net>:
|
||||
.\" Derived from 'readdir.2'.
|
||||
.\" Modified Tue Oct 22 08:11:14 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
|
||||
.TH GETDENTS 2 2009-09-29 "Linux" "Linux Programmer's Manual"
|
||||
.TH GETDENTS 2 2009-10-02 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
getdents \- get directory entries
|
||||
.SH SYNOPSIS
|
||||
|
@ -154,6 +154,9 @@ SVr4.
|
|||
.SH NOTES
|
||||
Glibc does not provide a wrapper for this system call; call it using
|
||||
.BR syscall (2).
|
||||
You will need to define the
|
||||
.I linux_dirent
|
||||
structure yourself.
|
||||
|
||||
This call supersedes
|
||||
.BR readdir (2).
|
||||
|
|
Loading…
Reference in New Issue