diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-06-16 14:37:57 +0000 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2005-06-16 14:37:57 +0000 |
| commit | 4f90a5f34e1bb617cc0f4bf720119d895ce987d3 (patch) | |
| tree | 11eb4cce0a6c18e0168eb8e0a997d794653d2997 | |
| parent | adb036712fa83b32072c53361002d0c21c5487b6 (diff) | |
| download | man-pages-4f90a5f34e1bb617cc0f4bf720119d895ce987d3.tar.gz | |
Removed erroneous description of makecontext() return value.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311800
| -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 |
