Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod(1)

wait(2)

CHMOD(3F)

+U77 FORTRAN compile-line option required

NAME

chmod − change mode of a file

SYNOPSIS

INTEGER*4 function chmod (name, mode)
character*(*) name, mode

DESCRIPTION

This function changes the file system 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 or the return status from wait(2).

FILES

/usr/lib/libU77.a
/bin/chmodexec’ed to change the mode. 

SEE ALSO

chmod(1), wait(2)

BUGS

Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>.

Hewlett-Packard Company  —  HP-UX Release 9.0: June 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026