forwarding a patch that uses the fetch macros to pull in acpica and build it (NicJA).
[AROS.git] / compiler / posixc / getegid.c
blob77a0185ac7e3aa34ec0b69959a52f198b6d4ad2f
1 /*
2 Copyright © 2003-2017, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX.1-2008 function getegid().
6 */
8 #include "__posixc_intbase.h"
10 /*****************************************************************************
12 NAME */
13 #include <unistd.h>
15 gid_t getegid(
17 /* SYNOPSIS */
18 void)
20 /* FUNCTION
21 Returns the effective group ID of the calling process
23 INPUTS
25 RESULT
27 NOTES
29 EXAMPLE
31 BUGS
33 SEE ALSO
34 setgid()
36 INTERNALS
38 ******************************************************************************/
40 struct PosixCIntBase *PosixCBase =
41 (struct PosixCIntBase *)__aros_getbase_PosixCBase();
43 return (gid_t)PosixCBase->egid;
44 } /* getegid() */