tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / workbench / network / stacks / AROSTCP / netlib / seteuid.c
blob39cecc6b511e89af807bf7c0cf0cc2f237069a81
1 /* $Id$
3 * seteuid() - set effective user
5 * Copyright © 1994 AmiTCP/IP Group,
6 * Network Solutions Development Inc.
7 * All rights reserved.
8 */
10 #include <sys/types.h>
11 #include <unistd.h>
13 #include <proto/usergroup.h>
15 #ifdef seteuid
16 #undef seteuid
17 #endif
19 int
20 seteuid(uid_t u)
22 return setreuid(-1, u);