diff options
author | ru <ru@FreeBSD.org> | 2002-12-18 10:13:54 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-12-18 10:13:54 +0000 |
commit | d0db69d964a72128c1dcb81af009e3bd728c7876 (patch) | |
tree | d7fc87dbba410fea9fb526ffb94f2409d3c5f8cc /lib/libc/gen/makecontext.3 | |
parent | af6f15fd347359b35b89710f15c02dffacf8d980 (diff) | |
download | FreeBSD-src-d0db69d964a72128c1dcb81af009e3bd728c7876.zip FreeBSD-src-d0db69d964a72128c1dcb81af009e3bd728c7876.tar.gz |
mdoc(7) police: "The .Fn function".
Diffstat (limited to 'lib/libc/gen/makecontext.3')
-rw-r--r-- | lib/libc/gen/makecontext.3 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/gen/makecontext.3 b/lib/libc/gen/makecontext.3 index ff56cbb..0419853 100644 --- a/lib/libc/gen/makecontext.3 +++ b/lib/libc/gen/makecontext.3 @@ -54,7 +54,9 @@ .Ft int .Fn swapcontext "ucontext_t *oucp" "const ucontext_t *ucp" .Sh DESCRIPTION +The .Fn makecontext +function modifies the user thread context pointed to by .Fa ucp , which must have previously been initialized by a call to @@ -83,7 +85,9 @@ otherwise, .Fn setcontext "ucp->uc_link" is implicitly invoked. .Pp +The .Fn swapcontext +function saves the current thread context in .Fa "*oucp" and makes @@ -97,7 +101,9 @@ otherwise \-1 is returned and the global variable .Va errno is set appropriately. .Sh ERRORS +The .Fn swapcontext +function will fail if: .Bl -tag -width Er .It Bq Er ENOMEM |