mirror of https://github.com/mkerrisk/man-pages
getdents.2: SYNOPSIS: Add missing header and feature test macro
Signed-off-by: Alejandro Colomar <colomar.6.4.3@gmail.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
d70361dab7
commit
2adfdd7795
|
@ -35,6 +35,10 @@ getdents, getdents64 \- get directory entries
|
|||
.nf
|
||||
.BI "int getdents(unsigned int " fd ", struct linux_dirent *" dirp ,
|
||||
.BI " unsigned int " count );
|
||||
.PP
|
||||
.BR "#define _GNU_SOURCE" " /* See feature_test_macros(7) */"
|
||||
.BR "#include <dirent.h>" " /* See NOTES */"
|
||||
.PP
|
||||
.BI "int getdents64(unsigned int " fd ", struct linux_dirent64 *" dirp ,
|
||||
.BI " unsigned int " count );
|
||||
.fi
|
||||
|
|
Loading…
Reference in New Issue