mmap.2: Minor reworking of RETURN VALUE text

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2015-05-04 16:43:25 +02:00
parent a6eb40552a
commit 80691a91ce
1 changed files with 5 additions and 3 deletions

View File

@ -382,12 +382,14 @@ On error, the value
.IR "(void\ *)\ \-1" )
is returned, and
.I errno
is set appropriately.
is set to indicate the cause of the error.
On success,
.BR munmap ()
returns 0, on failure \-1, and
returns 0.
On failure, it returns \-1, and
.I errno
is set (probably to
is set to indicate the cause of the error (probably to
.BR EINVAL ).
.SH ERRORS
.TP