fstat.2
来自「UNIX v6源代码 这几乎是最经典的unix版本 unix操作系统设计和莱」· 2 代码 · 共 32 行
2
32 行
.th FSTAT II 8/5/73.sh NAMEfstat \*- get status of open file.s3.sh SYNOPSIS(fstat = 28.).br(file descriptor in r0).ft B.brsys fstat; buf.s3fstat(fildes, buf).brstruct inode *buf;.ft R.sh DESCRIPTIONThiscall is identical to.it stat,except that it operateson open files instead of files given by name.It is most often used to get the statusof the standard input and output files, whose namesare unknown..sh "SEE ALSO"stat (II).sh DIAGNOSTICSThe error bit(c-bit) is set if the file descriptor is unknown;from C, a \*-1 return indicates an error, 0 indicates success.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?