Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

access(2)

perror(3F)

ACCESS(3F)  —  FORTRAN LIBRARY ROUTINES

NAME

access − determine accessibility of a file

SYNOPSIS

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

DESCRIPTION

access checks the given file, name, for accessability with respect to the caller according to mode. mode may 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. 

FILES

/usr/lib/libU77.a

SEE ALSO

access(2), perror(3F)

Sun Release 3.2  —  Last change: 17 July 1986

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