adopted an updated path to a test script.
[AROS.git] / compiler / posixc / getgid.c
blobb6aa4422f6c0f9e129ac4bc2be68d4dca5d63a5d
1 /*
2 Copyright © 2003-2013, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX.1-2008 function getgid().
6 */
8 #include "__posixc_intbase.h"
10 /*****************************************************************************
12 NAME */
13 #include <unistd.h>
15 gid_t getgid(
17 /* SYNOPSIS */
18 void)
20 /* FUNCTION
21 Returns the real 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->gid;
44 } /* getgid() */