summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-09-07 09:31:28 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-09-07 09:31:28 -0700
commitcd8e03d083ec0aae5e7420765404d306f9a347cb (patch)
tree894091a0476eddcf576ebb14fbbe1c2663c3071c /txr.1
parent28c640e34797b30dcd43ef8191b2ffe126f0feb8 (diff)
downloadtxr-cd8e03d083ec0aae5e7420765404d306f9a347cb.tar.gz
txr-cd8e03d083ec0aae5e7420765404d306f9a347cb.tar.bz2
txr-cd8e03d083ec0aae5e7420765404d306f9a347cb.zip
Adding raise function.
* signal.c (raise_wrap): New static function (sig_init): Register raise intrinsic. * txr.1: Documented raise.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.117
1 files changed, 17 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index 1ebee7c4..067bbb7b 100644
--- a/txr.1
+++ b/txr.1
@@ -31285,6 +31285,23 @@ function may be inserted into CPU-intensive code that
has no opportunity to be interrupted by signals, because it doesn't invoke any
I/O functions.
+.coNP Function @ raise
+.synb
+.mets (raise << signal )
+.syne
+.desc
+The
+.code raise
+function sends
+.meta signal
+to the process.
+It is a wrapper for the C function of the same name.
+
+The return value is
+.code t
+if the function succeeds, otherwise
+.codn nil .
+
.coNP Function @ kill
.synb
.mets (kill < process-id <> [ signal ])