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 .I bufsiz
characters), in case the buffer is too small to hold all of the contents. characters), in case the buffer is too small to hold all of the contents.
.SH "RETURN VALUE" .SH "RETURN VALUE"
The call returns the count of characters placed in the buffer On success,
if it succeeds, or \-1 if an error occurs, placing the error .BR readlink ()
code in returns the number of bytes placed in
.IR errno . .IR buf .
On error, \-1 is returned and
.I errno
is set to indicate the error.
.SH ERRORS .SH ERRORS
.TP .TP
.B EACCES .B EACCES