repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tools/adflib: build only host variant which is used by Sam440 target
[AROS.git]
/
workbench
/
network
/
stacks
/
AROSTCP
/
netlib
/
seteuid.c
blob
39cecc6b511e89af807bf7c0cf0cc2f237069a81
1
/* $Id$
2
*
3
* seteuid() - set effective user
4
*
5
* Copyright © 1994 AmiTCP/IP Group,
6
* Network Solutions Development Inc.
7
* All rights reserved.
8
*/
9
10
#include <sys/types.h>
11
#include <unistd.h>
12
13
#include <proto/usergroup.h>
14
15
#ifdef seteuid
16
#undef seteuid
17
#endif
18
19
int
20
seteuid
(
uid_t u
)
21
{
22
return
setreuid
(-
1
,
u
);
23
}
24