summaryrefslogtreecommitdiffabout
path: root/src/genrc.h
Side-by-side diff
Diffstat (limited to 'src/genrc.h') (more/less context) (ignore whitespace changes)
-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, ...);
#define xmalloc grecs_malloc
#define xzalloc grecs_zalloc
#define xcalloc grecs_calloc
#define xrealloc grecs_realloc
#define xstrdup grecs_strdup
+void *x2nrealloc(void *p, size_t *pn, size_t s);
#define SHELL "/bin/sh"
pid_t file_read_pid(char const *filename);
typedef struct transform *TRANSFORM;
@@ -58,12 +59,13 @@ int pidlist_remove(PIDLIST *plist, size_t i);
void pidlist_kill(PIDLIST *plist, int sig);
pid_t strtopid(char const *str);
int pid_is_running(pid_t pid);
+void runas(void);
enum {
MATCH_REGEX, /* extended POSIX regexp match (default) */
MATCH_PCRE, /* PCRE match (not implemented) */
MATCH_GLOB, /* glob pattern match */
MATCH_EXACT, /* exact match */

Return to:

Send suggestions and report system problems to the System administrator.