.\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work.
.\"
-.TH DIRFD 3 2002-01-05 "Linux" "Linux Programmer's Manual"
+.TH DIRFD 3 2007-07-26 "Linux" "Linux Programmer's Manual"
.SH NAME
dirfd \- get directory stream file descriptor
.SH SYNOPSIS
.B #include <dirent.h>
.sp
.BI "int dirfd(DIR *" dir );
+.sp
+.in -4n
+Feature Test Macro Requirements for glibc (see
+.BR feature_test_macros (7)):
+.in
+.sp
+.BR dirfd ():
+_BSD_SOURCE || _SVID_SOURCE
.SH DESCRIPTION
The function
.BR dirfd ()