diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-07-08 12:11:40 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-07-08 12:11:40 +0000 |
| commit | cc4615cc788aa749f34483abd33ba2b4a31d30f0 (patch) | |
| tree | 97070128f611af532551a19bb8062597b22cabd8 /man2/chmod.2 | |
| parent | 86c256953d62ba083f7ef6adcc5b4063f0b51d2b (diff) | |
| download | man-pages-cc4615cc788aa749f34483abd33ba2b4a31d30f0.tar.gz | |
Added/updated glibc feature test macro requirements
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 |
