chiark / gitweb /
util: improve signal_to_string, signal_from_string
authorMichal Schmidt <mschmidt@redhat.com>
Fri, 23 Sep 2011 07:39:40 +0000 (09:39 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Fri, 23 Sep 2011 08:30:19 +0000 (10:30 +0200)
signal_to_string:
 Produce names for SIGRTMIN+n.
 Never give an "n/a" result. In the worst case give the number itself as
 a string.

signal_from_string:
 Parse "RTMIN+n".
 Parse any valid signal number.


No differences found