diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-09-07 09:44:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-09-07 09:44:05 -0700 |
commit | 7cbe71b74d3bd8b8de8f6838934eaaa5365c4e61 (patch) | |
tree | 765e41a7b538a3600907cadf1de90ab82d45f241 /txr.1 | |
parent | cd8e03d083ec0aae5e7420765404d306f9a347cb (diff) | |
download | txr-7cbe71b74d3bd8b8de8f6838934eaaa5365c4e61.tar.gz txr-7cbe71b74d3bd8b8de8f6838934eaaa5365c4e61.tar.bz2 txr-7cbe71b74d3bd8b8de8f6838934eaaa5365c4e61.zip |
kill function returns boolean rather than integer.
* signal.c (kill_wrap): Return boolean indication of success,
with compatibility to previous behavior.
* txr.1: Document return value of kill, and put in
compatibility note.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -31319,6 +31319,11 @@ If the argument is omitted, it defaults to the same value as .codn sig-term . +The return value is +.code t +if the function succeeds, otherwise +.codn nil . + .SS* Unix Processes .coNP Functions @ fork and @ wait @@ -33290,7 +33295,12 @@ selects the behaviors described below for version 105, but not those for 102. .cble The new format omits the program name prefix and parentheses. - +Also, the +.code kill +function returned an integer, obtained from the return +value of the underlying C function, rather than converting +that value to a boolean. The old behavior was not documented, +and 114 compatibility restores it. .IP 113 Version 113 is the last version in which the |