seteuid.c\unistd\src - musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
path: root/src/unistd/seteuid.c
blob: ef8b9df43bd7307597f3d106fe99b150f72b1cba (plain) (blame)
1
2
3
4
5
6
7
8
#include <unistd.h>
#include "syscall.h"
#include "libc.h"
int seteuid(uid_t euid)
{
	return __setxid(SYS_setresuid, -1, euid, -1);
}
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月06日 14:08:32 +0000

AltStyle によって変換されたページ (->オリジナル) /