Use the detected no-builtin flag. (NicJA)
[AROS.git] / compiler / posixc / seteuid.c
blob73a3593ed482a3b69060935556d904db5173c51c
1 /*
2 Copyright © 2016, The AROS Development Team. All rights reserved.
3 $Id$
5 POSIX.1-2008 function seteuid().
6 */
8 #include <aros/debug.h>
9 #include <errno.h>
11 #include "__posixc_intbase.h"
13 /*****************************************************************************
15 NAME */
16 #include <unistd.h>
18 int seteuid(
20 /* SYNOPSIS */
21 uid_t uid)
23 /* FUNCTION
25 INPUTS
27 RESULT
29 NOTES
30 Does not check permissions.
32 EXAMPLE
34 BUGS
36 SEE ALSO
38 INTERNALS
40 ******************************************************************************/
42 struct PosixCIntBase *PosixCBase =
43 (struct PosixCIntBase *)__aros_getbase_PosixCBase();
45 PosixCBase->euid = uid;
47 return 0;
48 } /* seteuid() */