1CHMOD(3F) CHMOD(3F)
2
3
4
6 chmod - change mode of a file
7
9 integer function chmod (name, mode)
10 character*(*) name, mode
11
13 This function changes the filesystem mode of file name. Mode can be
14 any specification recognized by chmod(1). Name must be a single path‐
15 name.
16
17 The normal returned value is 0. Any other value will be a system error
18 number.
19
21 /usr/lib/libU77.a
22 /bin/chmod exec'ed to change the mode.
23
25 chmod(1)
26
28 Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>.
29
30
31
324.2 Berkeley Distribution May 15, 1985 CHMOD(3F)