revert between 56095 -> 55830 in arch
[AROS.git] / compiler / posixc / geteuid.c
blob44992ba5ea8742398aaf969de93457761eec1dbc
1 /*
2 Copyright © 2003-2016, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX.1-2008 function geteuid().
6 */
8 #include "__posixc_intbase.h"
10 /*****************************************************************************
12 NAME */
13 #include <unistd.h>
15 uid_t geteuid(
17 /* SYNOPSIS */
18 void)
20 /* FUNCTION
22 INPUTS
24 RESULT
26 NOTES
28 EXAMPLE
30 BUGS
32 SEE ALSO
33 getuid()
35 INTERNALS
37 ******************************************************************************/
39 struct PosixCIntBase *PosixCBase =
40 (struct PosixCIntBase *)__aros_getbase_PosixCBase();
42 return PosixCBase->euid;
43 } /* geteuid() */