Reword RETURN VALUE text.

This commit is contained in:
Michael Kerrisk 2008-07-12 11:11:58 +00:00
parent aae1ff184d
commit 64aae2b17b
1 changed files with 7 additions and 4 deletions

View File

@ -67,10 +67,13 @@ It will truncate the contents (to a length of
.I bufsiz
characters), in case the buffer is too small to hold all of the contents.
.SH "RETURN VALUE"
The call returns the count of characters placed in the buffer
if it succeeds, or \-1 if an error occurs, placing the error
code in
.IR errno .
On success,
.BR readlink ()
returns the number of bytes placed in
.IR buf .
On error, \-1 is returned and
.I errno
is set to indicate the error.
.SH ERRORS
.TP
.B EACCES