#include #include #define getegid _getegid PUBLIC gid_t getegid() { int k; k = _callm1(MM, GETGID, 0, 0, 0, NIL_PTR, NIL_PTR, NIL_PTR); if (k < 0) return((gid_t) k); return((gid_t) _M.m2_i1); }