Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ access(3f) — Ultrix FORTRAN 1.0 RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

access(2)

perror(3f)

access(3f)  —  RISC

NAME

access − determine accessibility of a file

SYNTAX

integer function access ( name, mode )
character*(*) name, mode

DESCRIPTION

The access function checks the given file, name, for accessibility with respect to the caller according to mode.  The mode can include in any order and in any combination one or more of:

rTest for read permission

wTest for write permission

xTest for execute permission

(blank)
Test for existence

An error code is returned if either argument is illegal, or if the file cannot be accessed in all of the specified modes.  0 is returned if the specified access would be successful. 

RESTRICTIONS

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

FILES

/usr/lib/libU77.a

SEE ALSO

access(2), perror(3f)
 

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