g77.info: Access Intrinsic

Go forward to AChar Intrinsic
Go backward to Abs Intrinsic
Go up to Table of Intrinsic Functions
Go to the top op g77

Access Intrinsic

     Access(NAME, MODE)
Access: `INTEGER(KIND=1)' function.
NAME: `CHARACTER'; scalar; INTENT(IN).
MODE: `CHARACTER'; scalar; INTENT(IN).
Intrinsic groups: `unix'.
Description:
   Checks file NAME for accessibility in the mode specified by MODE and
returns 0 if the file is accessible in that mode, otherwise an error
code if the file is inaccessible or MODE is invalid.  See `access(2)'.
A null character (`CHAR(0)') marks the end of the name in
NAME--otherwise, trailing blanks in NAME are ignored.  MODE may be a
concatenation of any of the following characters:
`r'
     Read permission
`w'
     Write permission
`x'
     Execute permission
`SPC'
     Existence