aboutsummaryrefslogtreecommitdiff
path: root/musl/sys/fsuid.h
diff options
context:
space:
mode:
Diffstat (limited to 'musl/sys/fsuid.h')
-rw-r--r--musl/sys/fsuid.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/musl/sys/fsuid.h b/musl/sys/fsuid.h
new file mode 100644
index 0000000..c7a9b8f
--- /dev/null
+++ b/musl/sys/fsuid.h
@@ -0,0 +1,20 @@
+#ifndef _SYS_FSUID_H
+#define _SYS_FSUID_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define __NEED_uid_t
+#define __NEED_gid_t
+
+#include <bits/alltypes.h>
+
+int setfsuid(uid_t);
+int setfsgid(gid_t);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif