mirror of https://github.com/mkerrisk/man-pages
openat2.2: ffix
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
0389373e6e
commit
0105739e8b
|
@ -100,9 +100,9 @@ arguments to
|
|||
.in +4n
|
||||
.EX
|
||||
struct open_how {
|
||||
u64 flags; /* O_* flags. */
|
||||
u64 mode; /* Mode for O_{CREAT,TMPFILE}. */
|
||||
u64 resolve; /* RESOLVE_* flags. */
|
||||
u64 flags; /* O_* flags */
|
||||
u64 mode; /* Mode for O_{CREAT,TMPFILE} */
|
||||
u64 resolve; /* RESOLVE_* flags */
|
||||
/* ... */
|
||||
};
|
||||
.EE
|
||||
|
@ -281,7 +281,7 @@ unknown flags in
|
|||
.IR resolve .
|
||||
.SH RETURN VALUE
|
||||
On success, a new file descriptor is returned.
|
||||
On error, -1 is returned, and
|
||||
On error, \-1 is returned, and
|
||||
.I errno
|
||||
is set appropriately.
|
||||
.SH ERRORS
|
||||
|
@ -407,7 +407,7 @@ then there are some extensions which the userspace program is aware of but the
|
|||
kernel does not support.
|
||||
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.
|
||||
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
|
||||
is set to
|
||||
.BR E2BIG .
|
||||
|
|
Loading…
Reference in New Issue