stat(3f) — RISC
NAME
stat, fstat − get file status
SYNTAX
integer function stat ( name, statb )
character*(*) name
integer statb(12)
character*(*) name
integer statb(12) integer function fstat ( lunit, statb )
integer statb(12)
DESCRIPTION
These routines return detailed information about a file. The stat function returns information about the specified file name; fstat returns information about the file associated with FORTRAN logical unit lunit. The order and meaning of the information returned in array statb is as described for the structure stat under stat(.). The spare values are not included.
The value of either function will be zero if successful; an error code otherwise.
RESTRICTIONS
Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>.
FILES
/usr/lib/libU77.a
SEE ALSO
stat(2)
access(3f), perror(3f), time(3f) in the FORTRAN Reference Pages