From: Thomas Veerman Date: Fri, 11 Jun 2010 11:17:31 +0000 (+0000) Subject: Fix wrong field for stack address and a typo. X-Git-Tag: v3.1.8~454 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/man.dnssec-keyfromlabel.html?a=commitdiff_plain;h=4d7c317700000f3564a1295ff59bc5fff4c7e8bb;p=minix.git Fix wrong field for stack address and a typo. --- diff --git a/man/man3/makecontext.3 b/man/man3/makecontext.3 index 151376c43..177ce3219 100644 --- a/man/man3/makecontext.3 +++ b/man/man3/makecontext.3 @@ -35,7 +35,7 @@ must match the number of integer arguments passed to .I ucp must have been initialized by a call to .BR getcontext (3) -and have a stack allocated for it. The address of the stack must be assigned to \fIucp\->uc_stack.ss_size\fP and the size of the stack to \fIucp\->uc_stack.ss_size\fP. The \fIucp\->uc_link\fP member is used to determine which successor context is run after the context modified by +and have a stack allocated for it. The address of the stack must be assigned to \fIucp\->uc_stack.ss_sp\fP and the size of the stack to \fIucp\->uc_stack.ss_size\fP. The \fIucp\->uc_link\fP member is used to determine which successor context is run after the context modified by .BR makecontext () returns. If left NULL, the process exits. .PP @@ -50,7 +50,7 @@ When successful, .BR swapcontext () returns 0. Otherwise, -1 is returned and .I errno -is set to indicate the error. Note that a succesful call to +is set to indicate the error. Note that a successful call to .BR swapcontext () actually does not return. Only after returning to the context that called .BR swapcontext ()