bsd man page for chmod

Query: chmod

OS: bsd

Section: 3f

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CHMOD(3F)																 CHMOD(3F)

NAME
chmod - change mode of a file
SYNOPSIS
integer function chmod (name, mode) character*(*) name, mode
DESCRIPTION
This function changes the filesystem mode of file name. Mode can be any specification recognized by chmod(1). Name must be a single path- name. The normal returned value is 0. Any other value will be a system error number.
FILES
/usr/lib/libU77.a /bin/chmod exec'ed to change the mode.
SEE ALSO
chmod(1)
BUGS
Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>. 4.2 Berkeley Distribution May 15, 1985 CHMOD(3F)
Related Man Pages
fchmod(2) - bsd
chmod(2) - v7
chmod(1) - plan9
lchmod(3) - osx
chmod(3) - php
Similar Topics in the Unix Linux Community
chmod rights issue?
FIND/CHMOD combined
Unable to chmod a file/directory
chmod to stop cat from displaying the file?
one line command to change mode only if necessary