2 Copyright © 2004-2016, The AROS Development Team. All rights reserved.
5 POSIX.1-2008 function setuid().
8 #include <aros/debug.h>
11 #include "__posixc_intbase.h"
13 /*****************************************************************************
24 Sets the user ID, and effective user ID of the calling process.
31 Does not check permissions.
41 ******************************************************************************/
43 struct PosixCIntBase
*PosixCBase
=
44 (struct PosixCIntBase
*)__aros_getbase_PosixCBase();
46 PosixCBase
->euid
= PosixCBase
->uid
= uid
;