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 .