.\" @(#)stat.3f 1.4 86/01/02 SMI; from UCB 4.2 .TH STAT64 3F "23 March 1998 - Long File Support" .SH NAME stat64, lstat64, fstat64 \- get file status for long files .SH SYNOPSIS .\" .IX stat64 "" \fLstat\fP .IX lstat64 "" \fLlstat\fP .IX fstat64 "" \fLfstat\fP .IX file status .IX status "of file" .\" .B integer function stat64(name,statb) .br .B character*(*) name .br .B integer*8 statb(13) .sp 1 .B integer function lstat64(name,statb) .br .B character*(*) name .br .B integer*8 statb(13) .sp 1 .B integer function fstat64(lunit,statb) .br .B integer*8 statb(13) .\" .SH DESCRIPTION These routines return detailed information about a file. .sp They are versions of the corresponding routines .BR stat , .BR lstat , and .BR fstat , that utilize a 64-bit integer status array to return information about long files (Solaris 2.6 and 2.7). .PP The functions .B stat64 and .B lstat64 do the query by .IR filename . .PP The function .B fstat64 does the query by FORTRAN logical unit .IR lunit . .PP The value of each function is zero if successful, and an error code otherwise. .PP The variable .I statb receives the status structure for the file. .sp 1 Calling Sequences: .sp 1 .IR stat64 : .br .B integer stat64 .br .B integer*8 statb(13) .br .B character name*(*) .br .B "ierr = stat64 ( name, statb )" .sp 1 .IR fstat64 : .br .B integer fstat64, logunit .br .B integer*8 statb(13) .br .B "ierr = fstat64 ( logunit, statb )" .sp .IR lstat64 : .br .B integer lstat64 .br .B integer*8 statb(13) .br .B character name*(*) .br .B "ierr = lstat64 ( name, statb )" .sp .\".in -8 The meaning of the information returned in the array .B statb is as described for the structure .B stat under .BR stat (2). .PP Spare values are not included. The order is: .sp .nf .ta 1i 1.7i 2.5i \f3statb\f1(1) device inode resides on \f3statb\f1(2) this inode's number \f3statb\f1(3) protection \f3statb\f1(4) number of hard links to the file \f3statb\f1(5) user id of owner \f3statb\f1(6) group id of owner \f3statb\f1(7) the device type, for inode that is device \f3statb\f1(8) total size of file \f3statb\f1(9) file last access time \f3statb\f1(10) file last modify time \f3statb\f1(11) file last status change time \f3statb\f1(12) optimal blocksize for file system i/o ops \f3statb\f1(13) actual number of blocks allocated .fi .SH FILES .B libF77.a .SH "SEE ALSO" .BR stat (2), .BR access (3F), .BR perror (3F), .BR time (3F) .SH BUGS Path names cannot be longer than .B MAXPATHLEN as defined in .BR .