revert between 56095 -> 55830 in arch
[AROS.git] / workbench / network / stacks / AROSTCP / netlib / setegid.c
blob19739eb68deff65833e408fd6d65b739903d1b6b
1 /* $Id$
3 * setegid() - set effective group
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 setegid
16 #undef setegid
17 #endif
19 int
20 setegid(gid_t g)
22 return setregid(-1, g);