summaryrefslogtreecommitdiffstats
path: root/txr.1
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-04-16 22:54:36 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-04-16 22:54:36 -0700
commitada08e1b0c7d8d61dc59cadb5eefd665522d149a (patch)
tree1b8d9de95e9f4332c0e0a1e4cdba824bd5f4453c /txr.1
parentc5d0fdcd677e46b7536a47812e63a1460559fd1c (diff)
downloadtxr-ada08e1b0c7d8d61dc59cadb5eefd665522d149a.tar.gz
txr-ada08e1b0c7d8d61dc59cadb5eefd665522d149a.tar.bz2
txr-ada08e1b0c7d8d61dc59cadb5eefd665522d149a.zip
Adding exit* function which calls _exit.
* sysif.c (exit_star_wrap): New static function. (sysif_init): Registered exit* intrinsic. * txr.1: Documented exit*. * tl.vim, txr.vim: Regenerated.
Diffstat (limited to 'txr.1')
-rw-r--r--txr.121
1 files changed, 21 insertions, 0 deletions
diff --git a/txr.1 b/txr.1
index f20b7eaf..8c4ccc07 100644
--- a/txr.1
+++ b/txr.1
@@ -24936,6 +24936,27 @@ fails, an exception of type
.code file-error
is thrown.
+.coNP Function @ exit*
+.synb
+.mets (exit* << status )
+.syne
+.desc
+The
+.code exit*
+function terminates the entire process (running \*(TX image), specifying
+the termination status to the operating system. The
+.meta status
+argument is treated exactly like that of the
+.code exit
+function. Unlike that function, this one exits the process immediately,
+cleaning up only low-level operating system resources such as closing file
+descriptors and releasing memory mappings, without performing user-space
+cleanup.
+
+.code exit*
+is implemented using a call to the POSIX function
+.codn _exit .
+
.coNP Functions @ getpid and @ getppid
.synb
(getpid)