Copyright (c) 1983, 1993
The Regents of the University of California. All rights reserved.
%sccs.include.proprietary.roff%
@(#)chmod.3 8.1 (Berkeley) 06/05/93
The Regents of the University of California. All rights reserved.
%sccs.include.proprietary.roff%
@(#)chmod.3 8.1 (Berkeley) 06/05/93
CHMOD 3F ""
C 5 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 pathname.
The normal returned value is 0. Any other value will be a system error number.
FILES
/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 >.