Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fstat(3f) — Ultrix/UWS 4.2 VAX

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

stat(2)

access(3f)

perror(3f)

time(3f)

stat(3f)  —  VAX  —  Unsupported

Name

stat, lstat, fstat − get file status

Syntax

integer function stat (name, statb)
character*(*) name
integer statb(12) integer function lstat (name, statb)
character*(*) name
integer statb(12) integer function fstat (lunit, statb)
integer statb(12)

Description

These routines return detailed information about a file.  The stat and lstat routines return information about file name. The fstat subroutine 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.

Restrictions

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

Return Values

The value of either function will be zero if successful; an error code otherwise. 

Files

/usr/lib/libU77.a

See Also

stat(2), access(3f), perror(3f), time(3f)

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