mirror of https://github.com/mkerrisk/man-pages
stat.2: Minor rewording: eliminate clumsy use of "stat" as a verb
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
392a12b215
commit
e096bd701a
16
man2/stat.2
16
man2/stat.2
|
@ -37,7 +37,7 @@
|
|||
.\" 2007-06-08 mtk: Added example program
|
||||
.\" 2007-07-05 mtk: Added details on underlying system call interfaces
|
||||
.\"
|
||||
.TH STAT 2 2014-02-21 "Linux" "Linux Programmer's Manual"
|
||||
.TH STAT 2 2014-03-09 "Linux" "Linux Programmer's Manual"
|
||||
.SH NAME
|
||||
stat, fstat, lstat, fstatat \- get file status
|
||||
.SH SYNOPSIS
|
||||
|
@ -92,7 +92,8 @@ _ATFILE_SOURCE
|
|||
.ad
|
||||
.SH DESCRIPTION
|
||||
.PP
|
||||
These functions return information about a file.
|
||||
These functions return information about a file, in the buffer pointed to by
|
||||
.IR stat .
|
||||
No permissions are required on the file itself, but\(emin the case of
|
||||
.BR stat (),
|
||||
.BR fstatat (),
|
||||
|
@ -105,10 +106,8 @@ that lead to the file.
|
|||
.BR stat ()
|
||||
and
|
||||
.BR fstatat ()
|
||||
stat the file pointed to by
|
||||
.I pathname
|
||||
and fills in
|
||||
.IR buf ;
|
||||
retrieve information about the file pointed to by
|
||||
.IR pathname ;
|
||||
the differences for
|
||||
.BR fstatat ()
|
||||
are described below.
|
||||
|
@ -118,13 +117,14 @@ is identical to
|
|||
.BR stat (),
|
||||
except that if
|
||||
.I pathname
|
||||
is a symbolic link, then the link itself is stat-ed,
|
||||
is a symbolic link, then it returns information about the link itself,
|
||||
not the file that it refers to.
|
||||
|
||||
.BR fstat ()
|
||||
is identical to
|
||||
.BR stat (),
|
||||
except that the file to be stat-ed is specified by the file descriptor
|
||||
except that the file about which informat is to be retrieved
|
||||
is specified by the file descriptor
|
||||
.IR fd .
|
||||
.PP
|
||||
All of these system calls return a
|
||||
|
|
Loading…
Reference in New Issue