aboutsummaryrefslogtreecommitdiffstats
path: root/man2/fstatat.2
diff options
context:
space:
mode:
Diffstat (limited to 'man2/fstatat.2')
-rw-r--r--man2/fstatat.218
1 files changed, 9 insertions, 9 deletions
diff --git a/man2/fstatat.2 b/man2/fstatat.2
index 4b3be9b423..75aac1f529 100644
--- a/man2/fstatat.2
+++ b/man2/fstatat.2
@@ -30,7 +30,7 @@ fstatat \- get file status relative to a directory file descriptor
.nf
.B #include <sys/stat.h>
.sp
-.BI "int fstatat(int " dirfd ", const char *" path ", struct stat *" \
+.BI "int fstatat(int " dirfd ", const char *" pathname ", struct stat *" \
buf ", int " flags );
.fi
.SH DESCRIPTION
@@ -41,7 +41,7 @@ system call operates in exactly the same way as
except for the differences described in this manual page.
If the pathname given in
-.I path
+.I pathname
is relative, then it is interpreted relative to the directory
referred to by the file descriptor
.IR dirfd
@@ -50,20 +50,20 @@ the calling process, as is done by
.BR stat (2)
for a relative pathname).
-If the pathname given in
-.I path
+If
+.I pathname
is relative and
.I dirfd
is the special value
.BR AT_FDCWD ,
then
-.I path
+.I pathname
is interpreted relative to the current working
directory of the calling process (like
.BR stat (2)).
-If the pathname given in
-.IR path
+If
+.IR pathname
is absolute, then
.I dirfd
is ignored.
@@ -73,7 +73,7 @@ can either be 0, or include the following flag:
.TP
.B AT_SYMLINK_NOFOLLOW
If
-.I path
+.I pathname
is a symbolic link, do not dereference it:
instead return information about the link itself, like
.BR lstat (2).
@@ -105,7 +105,7 @@ Invalid flag specified in
.IR flags .
.TP
.B ENOTDIR
-.I path
+.I pathname
is relative and
.I dirfd
is a file descriptor referring to a file other than a directory.