diff mbox series

manual: Document the O_NOFOLLOW open flag

Message ID 87sgggxnnz.fsf@mid.deneb.enyo.de
State New
Headers show
Series manual: Document the O_NOFOLLOW open flag | expand

Commit Message

Florian Weimer May 4, 2020, 5:41 a.m. UTC
-----
 manual/llio.texi | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Joseph Myers May 4, 2020, 8:22 p.m. UTC | #1
This patch is OK.
diff mbox series

Patch

diff --git a/manual/llio.texi b/manual/llio.texi
index fe59002915..6db4a70836 100644
--- a/manual/llio.texi
+++ b/manual/llio.texi
@@ -3678,6 +3678,13 @@  a directory.  The @code{errno} variable is set to @code{ENOTDIR} for
 this error condition.
 @end deftypevr
 
+@deftypevr Macro int O_NOFOLLOW
+@standards{POSIX.1, fcntl.h}
+If set, the open operation fails if the final component of the file name
+refers to a symbolic link.  The @code{errno} variable is set to
+@code{ELOOP} for this error condition.
+@end deftypevr
+
 @deftypevr Macro int O_TMPFILE
 @standards{GNU, fcntl.h}
 If this flag is specified, functions in the @code{open} family create an