|
|
1.1 ! root 1: .TH STAT 3F "18 July 1983" ! 2: .UC 4 ! 3: .SH NAME ! 4: stat, lstat, fstat \- get file status ! 5: .SH SYNOPSIS ! 6: .B integer function stat (name, statb) ! 7: .br ! 8: .B character*(*) name ! 9: .br ! 10: .B integer statb(12) ! 11: .sp 1 ! 12: .B integer function lstat (name, statb) ! 13: .br ! 14: .B character*(*) name ! 15: .br ! 16: .B integer statb(12) ! 17: .sp 1 ! 18: .B integer function fstat (lunit, statb) ! 19: .br ! 20: .B integer statb(12) ! 21: .SH DESCRIPTION ! 22: These routines return detailed information about a file. ! 23: .I Stat ! 24: and ! 25: .I lstat ! 26: return information about file ! 27: .IR name ; ! 28: .I fstat ! 29: returns information about the file associated with fortran logical unit ! 30: .I lunit. ! 31: The order and meaning of the information returned in array ! 32: .I statb ! 33: is as described for the structure ! 34: .I stat ! 35: under ! 36: .IR stat (2). ! 37: The ``spare'' values are not included. ! 38: .PP ! 39: The value of either function will be zero if successful; ! 40: an error code otherwise. ! 41: .SH FILES ! 42: .ie \nM /usr/ucb/lib/libU77.a ! 43: .el /usr/lib/libU77.a ! 44: .SH "SEE ALSO" ! 45: stat(2), access(3F), perror(3F), time(3F) ! 46: .SH BUGS ! 47: Pathnames can be no longer than MAXPATHLEN as defined in ! 48: .RI < sys/param.h >.
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.