diff --git a/man2/chmod.2 b/man2/chmod.2 index e42a77754..6c046fd5a 100644 --- a/man2/chmod.2 +++ b/man2/chmod.2 @@ -28,16 +28,18 @@ .\" : NFS details .\" Modified 2004-06-23 by Michael Kerrisk .\" -.TH CHMOD 2 2004-06-23 "Linux" "Linux Programmer's Manual" +.TH CHMOD 2 2004-07-08 "Linux" "Linux Programmer's Manual" .SH NAME chmod, fchmod \- change permissions of a file .SH SYNOPSIS -.B #include -.br .B #include .sp .BI "int chmod(const char *" path ", mode_t " mode ); +.sp +.BR "#define _XOPEN_SOURCE 500 " "/* or: " "#define _BSD_SOURCE " */ .br +.B #include +.sp .BI "int fchmod(int " fildes ", mode_t " mode ); .SH DESCRIPTION The mode of the file given by