diff options
| -rw-r--r-- | man3/makecontext.3 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/man3/makecontext.3 b/man3/makecontext.3 index 34f0998e61..f6d9e90b37 100644 --- a/man3/makecontext.3 +++ b/man3/makecontext.3 @@ -57,10 +57,11 @@ The \fBswapcontext()\fP function saves the current context in the structure pointed to by \fIoucp\fP, and then activates the context pointed to by \fIucp\fP. .SH "RETURN VALUE" -When successful, \fBmakecontext()\fP returns 0 and \fBswapcontext()\fP +When successful, \fBswapcontext()\fP does not return. (But we may return later, in case \fIoucp\fP is activated, in which case it looks like \fBswapcontext()\fP returns 0.) -On error, both return \-1 and set \fIerrno\fP appropriately. +On error, \fBswapcontext()\fP returns \-1 and +sets \-1 \fIerrno\fP appropriately. .SH ERRORS .TP .B ENOMEM |
