diff options
Diffstat (limited to 'man2/chmod.2')
| -rw-r--r-- | man2/chmod.2 | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/man2/chmod.2 b/man2/chmod.2 index 6c046fd5a3..888e595943 100644 --- a/man2/chmod.2 +++ b/man2/chmod.2 @@ -28,19 +28,23 @@ .\" <michael@cantor.informatik.rwth-aachen.de>: NFS details .\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net> .\" -.TH CHMOD 2 2004-07-08 "Linux" "Linux Programmer's Manual" +.TH CHMOD 2 2007-07-26 "Linux" "Linux Programmer's Manual" .SH NAME chmod, fchmod \- change permissions of a file .SH SYNOPSIS .B #include <sys/stat.h> .sp .BI "int chmod(const char *" path ", mode_t " mode ); -.sp -.BR "#define _XOPEN_SOURCE 500 " "/* or: " "#define _BSD_SOURCE " */ .br -.B #include <sys/stat.h> -.sp .BI "int fchmod(int " fildes ", mode_t " mode ); +.sp +.in -4n +Feature Test Macro Requirements for glibc (see +.BR feature_test_macros (7)): +.in +.sp +.BR fchmod (): +_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 .SH DESCRIPTION The mode of the file given by .I path |
