diff options
Diffstat (limited to 'src/libnetdata/os/setresgid.h')
-rw-r--r-- | src/libnetdata/os/setresgid.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libnetdata/os/setresgid.h b/src/libnetdata/os/setresgid.h new file mode 100644 index 000000000..fc6d41f95 --- /dev/null +++ b/src/libnetdata/os/setresgid.h @@ -0,0 +1,9 @@ +// SPDX-License-Identifier: GPL-3.0-or-later + +#ifndef NETDATA_SETRESGID_H +#define NETDATA_SETRESGID_H + +#include <unistd.h> +int os_setresgid(gid_t gid, gid_t egid, gid_t sgid); + +#endif //NETDATA_SETRESGID_H |