From d05358d2667d5b55a1bec36d051d95c06a3c7536 Mon Sep 17 00:00:00 2001 From: lns Date: Wed, 25 Apr 2018 12:41:03 +0200 Subject: POTD skeleton #29. Signed-off-by: lns --- src/utils.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/utils.h') 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 -- cgit v1.2.3