diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-08 03:22:25 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-08 03:22:25 +0200 |
commit | 7072ced8274274cd1b0fa085dd4118462e03884e (patch) | |
tree | 5eadaf1eed7dd8180017cc27c058f81025e05872 /util.h | |
parent | a90ebccc072efa17313fe68c737b3507247c37dd (diff) |
manager: print process name for all SIGCHLD received
Diffstat (limited to 'util.h')
-rw-r--r-- | util.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -39,6 +39,7 @@ typedef uint64_t usec_t; /* What is interpreted as whitespace? */ #define WHITESPACE " \t\n\r" +#define NEWLINE "\n\r" usec_t now(clockid_t clock); @@ -130,10 +131,13 @@ int reset_all_signal_handlers(void); char *strstrip(char *s); char *delete_chars(char *s, const char *bad); +char *truncate_nl(char *s); char *file_in_same_dir(const char *path, const char *filename); int mkdir_parents(const char *path, mode_t mode); +int get_process_name(pid_t pid, char **name); + char hexchar(int x); int unhexchar(char c); char octchar(int x); |