17 lines
236 B
C
17 lines
236 B
C
|
#include <sys/cdefs.h>
|
||
|
#include "namespace.h"
|
||
|
#include <lib.h>
|
||
|
|
||
|
#include <unistd.h>
|
||
|
|
||
|
#ifdef __weak_alias
|
||
|
__weak_alias(getgid, _getgid)
|
||
|
#endif
|
||
|
|
||
|
PUBLIC gid_t getgid()
|
||
|
{
|
||
|
message m;
|
||
|
|
||
|
return( (gid_t) _syscall(PM_PROC_NR, GETGID, &m));
|
||
|
}
|