diff options
Diffstat (limited to 'src/unistd/seteuid.c')
-rw-r--r-- | src/unistd/seteuid.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/unistd/seteuid.c b/src/unistd/seteuid.c new file mode 100644 index 00000000..0aaa86e0 --- /dev/null +++ b/src/unistd/seteuid.c @@ -0,0 +1,6 @@ +#include <unistd.h> + +int seteuid(uid_t euid) +{ + return setreuid(-1, euid); +} |