summaryrefslogtreecommitdiff
path: root/minix/lib/libc/sys/issetugid.c
blob: d0eb172dbfce4b6df16e7f0a1646be0167ab41e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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);
}