aboutsummaryrefslogtreecommitdiff
path: root/src/genrc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/genrc.h')
-rw-r--r--src/genrc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/genrc.h b/src/genrc.h
index a6e81e8..9842016 100644
--- a/src/genrc.h
+++ b/src/genrc.h
@@ -28,12 +28,13 @@ void system_error(int ec, char const *fmt, ...);
28 28
29#define xmalloc grecs_malloc 29#define xmalloc grecs_malloc
30#define xzalloc grecs_zalloc 30#define xzalloc grecs_zalloc
31#define xcalloc grecs_calloc 31#define xcalloc grecs_calloc
32#define xrealloc grecs_realloc 32#define xrealloc grecs_realloc
33#define xstrdup grecs_strdup 33#define xstrdup grecs_strdup
34void *x2nrealloc(void *p, size_t *pn, size_t s);
34 35
35#define SHELL "/bin/sh" 36#define SHELL "/bin/sh"
36 37
37pid_t file_read_pid(char const *filename); 38pid_t file_read_pid(char const *filename);
38 39
39typedef struct transform *TRANSFORM; 40typedef struct transform *TRANSFORM;
@@ -58,12 +59,13 @@ int pidlist_remove(PIDLIST *plist, size_t i);
58void pidlist_kill(PIDLIST *plist, int sig); 59void pidlist_kill(PIDLIST *plist, int sig);
59 60
60pid_t strtopid(char const *str); 61pid_t strtopid(char const *str);
61 62
62int pid_is_running(pid_t pid); 63int pid_is_running(pid_t pid);
63 64
65void runas(void);
64 66
65enum { 67enum {
66 MATCH_REGEX, /* extended POSIX regexp match (default) */ 68 MATCH_REGEX, /* extended POSIX regexp match (default) */
67 MATCH_PCRE, /* PCRE match (not implemented) */ 69 MATCH_PCRE, /* PCRE match (not implemented) */
68 MATCH_GLOB, /* glob pattern match */ 70 MATCH_GLOB, /* glob pattern match */
69 MATCH_EXACT, /* exact match */ 71 MATCH_EXACT, /* exact match */

Return to:

Send suggestions and report system problems to the System administrator.