home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 8
/
FreshFishVol8-CD1.bin
/
useful
/
comm
/
tcp
/
amitcp
/
src
/
netlib
/
setegid.c
< prev
next >
Wrap
C/C++ Source or Header
|
1994-03-29
|
565b
|
28 lines
RCS_ID_C="$Id: setegid.c,v 3.1 1994/03/29 12:50:52 ppessi Exp $";
/*
* setegid() - set effective group
*
* Author: ppessi <Pekka.Pessi@hut.fi>
*
* Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
* Helsinki University of Technology, Finland.
* All rights reserved.
*
* Created : Thu Mar 24 05:19:36 1994 ppessi
* Last modified: Thu Mar 24 05:32:22 1994 ppessi
*
*/
#include <sys/types.h>
#include <unistd.h>
#include <proto/usergroup.h>
#undef setegid
int
setegid(gid_t g)
{
return setregid(-1, g);
}