path: root/src/genrc.h
authorSergey Poznyakoff <>2018-05-17 18:37:57 (GMT)
committer Sergey Poznyakoff <>2018-05-17 18:37:57 (GMT)
commit41e4cf7b5ad33dcfc7f472b9392831fa197fd8e2 (patch) (side-by-side diff)
tree6efb7211f656932b6e1848fba21e3c71fb704819 /src/genrc.h
parente8e7bbc7de3355af2c14992e09e0881e95b8b580 (diff)
Implement the --user and --group options.
Diffstat (limited to 'src/genrc.h') (more/less context) (ignore whitespace changes)
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
@@ -31,6 +31,7 @@ void system_error(int ec, char const *fmt, ...);
#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"
@@ -61,6 +62,7 @@ pid_t strtopid(char const *str);
int pid_is_running(pid_t pid);
+void runas(void);
enum {
MATCH_REGEX, /* extended POSIX regexp match (default) */

Return to:

Send suggestions and report system problems to the System administrator.