Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

stat(2)

access(3f)

perror(3f)

time(3f)



STAT(3F)                COMMAND REFERENCE                STAT(3F)



NAME
     stat, lstat, fstat - get file status

SYNOPSIS
     integer function stat (filename, statb)
     character*(*) filename
     integer statb(12)

     integer function lstat (filename, statb)
     character*(*) filename
     integer statb(12)

     integer function fstat (lunit, statb)
     integer statb(12), lunit

DESCRIPTION
     These routines return detailed information about a file.
     Stat and lstat return information about filename; fstat
     returns information about the file associated with FORTRRAN
     logical unit lunit.

     The order and meaning of the information returned in array
     statb is as described for the structure stat under stat(2).
     The spare values are not included.

     The value of either function will be 0 if successful; an
     error code is returned otherwise.

FILES
     /usr/lib/libU77.a
                    f77 UTek system interface library.

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

CAVEATS
     Pathnames can be no longer than MAXPATHLEN as defined in
     /usr/include/max.h .

SEE ALSO
     stat(2), access(3f), perror(3f), and time(3f).













Printed 3/13/89                                                 1



%%index%%
na:264,88;
sy:352,2358;
de:2710,834;
fi:3544,191;
rv:3735,228;
ca:3963,195;
se:4158,195;
%%index%%000000000122

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