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