1STAT(3F) STAT(3F)
2
3
4
6 stat, lstat, fstat - get file status
7
9 integer function stat (name, statb)
10 character*(*) name
11 integer statb(12)
12
13 integer function lstat (name, statb)
14 character*(*) name
15 integer statb(12)
16
17 integer function fstat (lunit, statb)
18 integer statb(12)
19
21 These routines return detailed information about a file. Stat and
22 lstat return information about file name; fstat returns information
23 about the file associated with fortran logical unit lunit. The order
24 and meaning of the information returned in array statb is as described
25 for the structure stat under stat(2). The ``spare'' values are not
26 included.
27
28 The value of either function will be zero if successful; an error code
29 otherwise.
30
32 /usr/lib/libU77.a
33
35 stat(2), access(3F), perror(3F), time(3F)
36
38 Pathnames can be no longer than MAXPATHLEN as defined in <sys/param.h>.
39
40
41
424.2 Berkeley Distribution May 15, 1985 STAT(3F)