comparison lib/lib.h @ 1725:b2b2d214727a draft

Upgrade oneit with -r (restart), -3 (send exiting PID values to child), and signal handling.
author Rob Landley <rob@landley.net>
date Mon, 09 Mar 2015 14:52:32 -0500
parents ef5d02d0d37f
children 90a7ed7ec30e
comparison
equal deleted inserted replaced
1724:81d8a7b20ce9 1725:b2b2d214727a
127 char *xreadlink(char *name); 127 char *xreadlink(char *name);
128 long xparsetime(char *arg, long units, long *fraction); 128 long xparsetime(char *arg, long units, long *fraction);
129 void xpidfile(char *name); 129 void xpidfile(char *name);
130 void xregcomp(regex_t *preg, char *rexec, int cflags); 130 void xregcomp(regex_t *preg, char *rexec, int cflags);
131 char *xtzset(char *new); 131 char *xtzset(char *new);
132 void xsignal(int signal, void *handler);
132 133
133 // lib.c 134 // lib.c
134 void verror_msg(char *msg, int err, va_list va); 135 void verror_msg(char *msg, int err, va_list va);
135 void error_msg(char *msg, ...) printf_format; 136 void error_msg(char *msg, ...) printf_format;
136 void perror_msg(char *msg, ...) printf_format; 137 void perror_msg(char *msg, ...) printf_format;