This commit is contained in:
Michael Kerrisk 2008-07-12 11:01:09 +00:00
parent d7ba51f9c5
commit 84811e86e2
3 changed files with 3 additions and 3 deletions

View File

@ -586,7 +586,7 @@ was specified.
.\" getpid(2) returns current->tgid;
On success, the thread ID of the child process is returned
in the caller's thread of execution.
On failure, a \-1 will be returned
On failure, \-1 is returned
in the caller's context, no child process will be created, and
.I errno
will be set appropriately.

View File

@ -107,7 +107,7 @@ to clear the external variable
.I errno
prior to the
call, then check it afterwards to determine
if a \-1 is an error or a legitimate value.
if \-1 is an error or a legitimate value.
The
.BR setpriority ()
call returns 0 if there is no error, or

View File

@ -68,7 +68,7 @@ It will truncate the contents (to a length of
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 a \-1 if an error occurs, placing the error
if it succeeds, or \-1 if an error occurs, placing the error
code in
.IR errno .
.SH ERRORS