moonbridge
diff reference.txt @ 271:30629973dcff
Make moonbridge_io.signalsocket(...) accept strings as argument
author | jbe |
---|---|
date | Sun Jun 04 20:12:56 2017 +0200 (2017-06-04) |
parents | fab22173abc8 |
children | 928473f7df96 |
line diff
1.1 --- a/reference.txt Sun Jun 04 19:53:34 2017 +0200 1.2 +++ b/reference.txt Sun Jun 04 20:12:56 2017 +0200 1.3 @@ -400,7 +400,8 @@ 1.4 1.5 This function installs a signal handler for the signals with the numbers passed 1.6 as arguments and returns a socket which receives a byte for each received 1.7 -signal. 1.8 +signal. Optionally, a string may be used instead of the signal number (e.g. 1.9 +"KILL" instead of 9, or "TERM" instead of 15). 1.10 1.11 Subsequent calls of this function can extend the set of signals but will always 1.12 return the same socket. If the socket is closed, it is no longer possible to