libc, libutil: remove compat hacks
[minix.git] / lib / libc / sys-minix / issetugid.c
blob499331f150d740bd28f1523c2bd15e858fa27236
1 #include <sys/cdefs.h>
2 #include "namespace.h"
3 #include <lib.h>
5 #include <unistd.h>
7 int issetugid(void)
9 int r;
10 message m;
12 r = _syscall(PM_PROC_NR, ISSETUGID, &m);
13 if (r == -1) return 0; /* Default to old behavior */
14 return(r);