diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-12-18 09:22:32 +0000 |
commit | 2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3 (patch) | |
tree | cb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/sigaltstack.2 | |
parent | a1096fe6dfb9dc2ec492a1421075a38d6d75bc02 (diff) | |
download | src-2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3.tar.gz src-2faeeff4c9bb77cca44a977d96c1a9fc7af8d8a3.zip |
mdoc(7) police: Tidy up the syscall language.
Stop calling system calls "function calls".
Use "The .Fn system call" a-la "The .Nm utility".
When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.
Notes
Notes:
svn path=/head/; revision=108028
Diffstat (limited to 'lib/libc/sys/sigaltstack.2')
-rw-r--r-- | lib/libc/sys/sigaltstack.2 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2 index b44db94cf115..fe8fda534c89 100644 --- a/lib/libc/sys/sigaltstack.2 +++ b/lib/libc/sys/sigaltstack.2 @@ -52,7 +52,9 @@ typedef struct sigaltstack { .Ft int .Fn sigaltstack "const stack_t * restrict ss" "stack_t * restrict oss" .Sh DESCRIPTION -.Fn Sigaltstack +The +.Fn sigaltstack +system call allows users to define an alternate stack on which signals are to be processed. If @@ -66,7 +68,7 @@ on that stack. When a signal's action indicates its handler should execute on the signal stack (specified with a .Xr sigaction 2 -call), the system checks to see +system call), the system checks to see if the process is currently executing on that stack. If the process is not currently executing on the signal stack, the system arranges a switch to the signal stack for the @@ -135,7 +137,9 @@ unpredictable results may occur. .Sh RETURN VALUES .Rv -std sigaltstack .Sh ERRORS -.Fn Sigaltstack +The +.Fn sigaltstack +system call will fail and the signal stack context will remain unchanged if one of the following occurs. .Bl -tag -width Er |