mirror of https://github.com/mkerrisk/man-pages
open.2: BUGS: Verifying O_TMPFILE support requires checking for *two* errors
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
fd185f5819
commit
0d730fcc90
|
@ -1154,6 +1154,14 @@ use
|
|||
to enable this flag.
|
||||
.\" FIXME . Check bugzilla report on open(O_ASYNC)
|
||||
.\" See http://bugzilla.kernel.org/show_bug.cgi?id=5993
|
||||
|
||||
One must check for two different error codes,
|
||||
.B EISDIR
|
||||
and
|
||||
.BR ENOENT ,
|
||||
when trying to determine whether the kernel supports
|
||||
.B O_TMP_FILE
|
||||
functionality.
|
||||
.SH SEE ALSO
|
||||
.BR chmod (2),
|
||||
.BR chown (2),
|
||||
|
|
Loading…
Reference in New Issue