diff options
Diffstat (limited to 'man2/open.2')
| -rw-r--r-- | man2/open.2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/man2/open.2 b/man2/open.2 index 781e3aedec..df3a8175d4 100644 --- a/man2/open.2 +++ b/man2/open.2 @@ -964,15 +964,15 @@ and provides a superset of the features of It is documented separately, in .BR openat2 (2). .SH RETURN VALUE +On success, .BR open (), .BR openat (), and .BR creat () -return the new file descriptor (a nonnegative integer), -or \-1 if an error occurred -(in which case, +return the new file descriptor (a nonnegative integer). +On error, \-1 is returned and .I errno -is set appropriately). +is set to indicate the error. .SH ERRORS .BR open (), .BR openat (), |
