]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
openat2.2: ffix
authorMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 30 Mar 2020 07:54:06 +0000 (09:54 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Mon, 30 Mar 2020 08:20:06 +0000 (10:20 +0200)
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/openat2.2

index 195b7c8ca64f75bf25b2a3dc9d33f46d923dd92c..467fedbad886c6d519afe7c6c04e173e2e8b6eb8 100644 (file)
@@ -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 .