Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/stat.2
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | |||||
are constructed by a bitwise-inclusive OR of flags from this list, | are constructed by a bitwise-inclusive OR of flags from this list, | ||||
defined in | defined in | ||||
.In fcntl.h : | .In fcntl.h : | ||||
.Bl -tag -width indent | .Bl -tag -width indent | ||||
.It Dv AT_SYMLINK_NOFOLLOW | .It Dv AT_SYMLINK_NOFOLLOW | ||||
If | If | ||||
.Fa path | .Fa path | ||||
names a symbolic link, the status of the symbolic link is returned. | names a symbolic link, the status of the symbolic link is returned. | ||||
.It Dv AT_BENEATH | |||||
Do not allow to stat a file which is not a child of the starting directory. | |||||
0mp: How about:
> Do not allow to stat a file which is not a child of the starting directory. See .. | |||||
See the description of the | |||||
.Dv O_BENEATH | |||||
flag in the | |||||
.Xr open 2 | |||||
manual page. | |||||
Done Inline Actionss/man/manual/ 0mp: s/man/manual/ | |||||
.El | .El | ||||
.Pp | .Pp | ||||
If | If | ||||
.Fn fstatat | .Fn fstatat | ||||
is passed the special value | is passed the special value | ||||
.Dv AT_FDCWD | .Dv AT_FDCWD | ||||
in the | in the | ||||
.Fa fd | .Fa fd | ||||
▲ Show 20 Lines • Show All 281 Lines • ▼ Show 20 Lines | |||||
.It Bq Er ENOTDIR | .It Bq Er ENOTDIR | ||||
The | The | ||||
.Fa path | .Fa path | ||||
argument is not an absolute path and | argument is not an absolute path and | ||||
.Fa fd | .Fa fd | ||||
is neither | is neither | ||||
.Dv AT_FDCWD | .Dv AT_FDCWD | ||||
nor a file descriptor associated with a directory. | nor a file descriptor associated with a directory. | ||||
.It Bq Er ENOTCAPABLE | |||||
.Fa path | |||||
contained a ".." component leading to a directory outside of the directory | |||||
hierarchy specified by the start directory. | |||||
.El | .El | ||||
.Sh SEE ALSO | .Sh SEE ALSO | ||||
.Xr access 2 , | .Xr access 2 , | ||||
.Xr chmod 2 , | .Xr chmod 2 , | ||||
.Xr chown 2 , | .Xr chown 2 , | ||||
.Xr fhstat 2 , | .Xr fhstat 2 , | ||||
.Xr statfs 2 , | .Xr statfs 2 , | ||||
.Xr utimes 2 , | .Xr utimes 2 , | ||||
Show All 34 Lines |
How about: