From 0105739e8b12b8c3fdb11915357cf99da1c1a899 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 30 Mar 2020 09:54:06 +0200 Subject: [PATCH] openat2.2: ffix Signed-off-by: Michael Kerrisk --- man2/openat2.2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/man2/openat2.2 b/man2/openat2.2 index 195b7c8ca..467fedbad 100644 --- a/man2/openat2.2 +++ b/man2/openat2.2 @@ -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 .