aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2005-06-16 14:37:57 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2005-06-16 14:37:57 +0000
commit4f90a5f34e1bb617cc0f4bf720119d895ce987d3 (patch)
tree11eb4cce0a6c18e0168eb8e0a997d794653d2997 /man3
parentadb036712fa83b32072c53361002d0c21c5487b6 (diff)
downloadman-pages-4f90a5f34e1bb617cc0f4bf720119d895ce987d3.tar.gz
Removed erroneous description of makecontext() return value.
As per http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=311800
Diffstat (limited to 'man3')
-rw-r--r--man3/makecontext.35
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