summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/misc/getresuid.c
blob: d75d5d40867c85c5f9ddca64ceec4ae8e288bffe (plain)
1
2
3
4
5
6
7
8
#define _GNU_SOURCE
#include <unistd.h>
#include "syscall.h"

int getresuid(uid_t *ruid, uid_t *euid, uid_t *suid)
{
	return syscall(SYS_getresuid, ruid, euid, suid);
}