stat.3f

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 3F 代码 · 共 56 行

3F
56
字号
.\" SCCSID: @(#)stat.3f	8.1	9/11/90.TH stat 3f VAX "" Unsupported.SH Namestat, lstat, fstat \- get file status.SH Syntax.B integer function stat (name, statb).br.B character*(*) name.br.B integer statb(12).sp 1.B integer function lstat (name, statb).br.B character*(*) name.br.B integer statb(12).sp 1.B integer function fstat (lunit, statb).br.B integer statb(12).SH Description.NXR "stat subroutine (FORTRAN)".NXR "lstat subroutine (FORTRAN)".NXR "fstat subroutine (FORTRAN)".NXR "file" "getting status"These routines return detailed information about a file.The.PN statand.PN lstatroutines return information about file.IR name .The.PN fstatsubroutinereturns information about the file associated with FORTRAN logical unit.I lunit.The order and meaning of the information returned in array.I statbis as described for the structure.PN statunder .MS stat 2 .The spare values are not included..SH RestrictionsPathnames can be no longer than MAXPATHLEN as defined in<sys/param.h>..SH Return ValuesThe value of either function will be zero if successful;an error code otherwise..SH Files.ie \nM /usr/ucb/lib/libU77.a.el /usr/lib/libU77.a.SH See Alsostat(2), access(3f), perror(3f), time(3f)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?