8 __weak_alias(getegid
, _getegid
)
15 /* POSIX says that this function is always successful and that no
16 * return value is reserved to indicate an error. Minix syscalls
17 * are not always successful and Minix returns the unreserved value
18 * (gid_t) -1 when there is an error.
20 if (_syscall(PM_PROC_NR
, GETGID
, &m
) < 0) return ( (gid_t
) -1);
21 return( (gid_t
) m
.m2_i1
);