Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ chmod(3F) — Sun WorkShop 5.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chmod(1)

gerror(3F)

CHMOD(3F)

NAME

chmod − change mode of a file

SYNOPSIS

integer∗4 function chmod (name, mode)
character∗(∗) name, mode

DESCRIPTION

Change the file system mode of file name. You can set mode to be any specification recognized by chmod(1). 

The argument name must be a single path name. 

The normal returned value is 0.  Any other value is a system error number. 

FILES

libF77.a
/bin/chmod executed to change the mode

SEE ALSO

chmod(1), gerror(3F)

RESTRICTION

Path names cannot be longer than MAXPATHLEN as defined in <sys/param.h>. 

SunOS 5.0  —  Last change: 98/09/16

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