openat2.2: ffix

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2020-03-30 09:54:06 +02:00
parent 0389373e6e
commit 0105739e8b
1 changed files with 5 additions and 5 deletions

View File

@ -100,9 +100,9 @@ arguments to
.in +4n .in +4n
.EX .EX
struct open_how { struct open_how {
u64 flags; /* O_* flags. */ u64 flags; /* O_* flags */
u64 mode; /* Mode for O_{CREAT,TMPFILE}. */ u64 mode; /* Mode for O_{CREAT,TMPFILE} */
u64 resolve; /* RESOLVE_* flags. */ u64 resolve; /* RESOLVE_* flags */
/* ... */ /* ... */
}; };
.EE .EE
@ -281,7 +281,7 @@ unknown flags in
.IR resolve . .IR resolve .
.SH RETURN VALUE .SH RETURN VALUE
On success, a new file descriptor is returned. On success, a new file descriptor is returned.
On error, -1 is returned, and On error, \-1 is returned, and
.I errno .I errno
is set appropriately. is set appropriately.
.SH ERRORS .SH ERRORS
@ -407,7 +407,7 @@ then there are some extensions which the userspace program is aware of but the
kernel does not support. kernel does not support.
Because all extensions must have their zero values be a no-op, the kernel can Because all extensions must have their zero values be a no-op, the kernel can
safely ignore the unsupported extension fields if they are all-zero. safely ignore the unsupported extension fields if they are all-zero.
If any unsupported extension fields are non-zero, then -1 is returned and If any unsupported extension fields are non-zero, then \-1 is returned and
.I errno .I errno
is set to is set to
.BR E2BIG . .BR E2BIG .