From 4d7c317700000f3564a1295ff59bc5fff4c7e8bb Mon Sep 17 00:00:00 2001 From: Thomas Veerman Date: Fri, 11 Jun 2010 11:17:31 +0000 Subject: [PATCH] Fix wrong field for stack address and a typo. --- man/man3/makecontext.3 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 () -- 2.44.0