chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
4e240ab
)
util: improve signal_to_string, signal_from_string
author
Michal Schmidt
<mschmidt@redhat.com>
Fri, 23 Sep 2011 07:39:40 +0000
(09:39 +0200)
committer
Michal 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