ack/mach/minixST/libsys/getegid.c

10 lines
172 B
C
Raw Normal View History

1988-04-19 09:34:37 +00:00
#include "lib.h"
PUBLIC gid getegid()
{
int k;
k = callm1(MM, GETGID, 0, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR);
if (k < 0) return ( (gid) k);
return( (gid) M.m2_i1);
}