open.2: Minor tweaks to Aleksa Sarai's patch

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-03-30 08:45:58 +02:00
parent a2dbb2e378
commit 4b322a2fc8
1 changed files with 8 additions and 7 deletions

View File

@ -66,9 +66,9 @@ open, openat, creat \- open and possibly create a file
.BI "int openat(int " dirfd ", const char *" pathname ", int " flags \
", mode_t " mode );
.PP
/* Documented separately, in \fBopenat2\fP(2). */
.BI "int openat2(int " dirfd ", const char *" pathname ", \
const struct open_how *" how ", size_t " size ");
/* Documented separately, in \fBopenat2\fP(2): */
.BI "int openat2(int " dirfd ", const char *" pathname ,
.BI " const struct open_how *" how ", size_t " size ");
.fi
.PP
.in -4n
@ -945,15 +945,16 @@ If
is absolute, then
.I dirfd
is ignored.
.\"
.SS openat2(2)
The
.BR openat2 (2)
system call is an extension of
.BR openat (),
with a superset of features. To avoid making this man page too long, the
description of
.BR openat2 (2)
and its features is documented in a separate man page.
and provides a superset of the features of
.BR openat ().
It is separate documented, in
.BR openat2 (2).
.SH RETURN VALUE
.BR open (),
.BR openat (),