aboutsummaryrefslogtreecommitdiff
path: root/src/utils.h
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2018-04-25 12:41:03 +0200
committerlns <matzeton@googlemail.com>2018-04-25 12:41:03 +0200
commitd05358d2667d5b55a1bec36d051d95c06a3c7536 (patch)
tree11e9ef6d9cf9ecf12988151545c094397a6989ec /src/utils.h
parent03e137c2193d550dda156f86ca68c896f0dffe84 (diff)
POTD skeleton #29.
Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index da5be32..22a2b07 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -16,6 +16,8 @@ pid_t daemonize(int stay_foreground);
int close_fds_except(int fd, ...);
+int redirect_devnull_to(int fds, ...);
+
int change_user_group(const char *user, const char *group);
#endif