]> git.itanic.dy.fi Git - scan-pagemap/commit
pidlib: Implement pidstr_is_ok()
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 2 Sep 2010 15:28:41 +0000 (18:28 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Thu, 2 Sep 2010 15:32:56 +0000 (18:32 +0300)
commit1e0e4e7d301c414549252f44eec2cb6544d78103
treebd9bd2552d1a90074f1b51727c816151d719938e
parentb82c8a8a616655f3a6c0840023529e3323ea9cf9
pidlib: Implement pidstr_is_ok()

This can be used to check whether a numerical pid string represents an
actual pid numer on the system.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
pidlib.c
pidlib.h