minix3/lib/libc/sys/issetugid.c

15 lines
217 B
C
Raw Permalink Normal View History

2020-02-21 00:59:27 +05:30
#include <sys/cdefs.h>
#include "namespace.h"
#include <lib.h>
#include <string.h>
#include <unistd.h>
int issetugid(void)
{
message m;
memset(&m, 0, sizeof(m));
return _syscall(PM_PROC_NR, PM_ISSETUGID, &m);
}