summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/sigaltstack.2
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
committerru <ru@FreeBSD.org>2002-12-18 09:22:32 +0000
commita4b155d7a2170a500eb79b46959eef4018441062 (patch)
treecb18f664ed0ee63bee30f6af9b148510b6e9663b /lib/libc/sys/sigaltstack.2
parente7e659d1cc574138f455ed70d58a07294211ff5a (diff)
downloadFreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.zip
FreeBSD-src-a4b155d7a2170a500eb79b46959eef4018441062.tar.gz
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.
Diffstat (limited to 'lib/libc/sys/sigaltstack.2')
-rw-r--r--lib/libc/sys/sigaltstack.210
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/libc/sys/sigaltstack.2 b/lib/libc/sys/sigaltstack.2
index b44db94..fe8fda5 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
OpenPOWER on IntegriCloud