library: Remove signal name from library

Procps library previously held functions that were about either
listing or finding signal names. These are not really the right
location for a library about reading procfs.

This patch handles signal related functions in two ways:

For functions purely found in skill, these have been moved back
into this binary as they are used nowhere else.

For functions used across the binaries, these have been moved
into include/signals.h and lib/signals.c. Besides formatting,
these functions are largely the same.

To assist the skill functions, two functions to access the
signal map array have been added to lib/signals.c
This commit is contained in:
Craig Small
2015-06-29 21:52:51 +10:00
parent 8ded6c5739
commit 56399212c8
10 changed files with 1548 additions and 1579 deletions

1366
pgrep.c

File diff suppressed because it is too large Load Diff