xref: /csrg-svn/lib/libc/gen/setegid.c (revision 22104)
1*22104Smckusick /*
2*22104Smckusick  * Copyright (c) 1983 Regents of the University of California.
3*22104Smckusick  * All rights reserved.  The Berkeley software License Agreement
4*22104Smckusick  * specifies the terms and conditions for redistribution.
5*22104Smckusick  */
613509Ssam 
7*22104Smckusick #ifndef lint
8*22104Smckusick static char sccsid[] = "@(#)setegid.c	5.1 (Berkeley) 06/05/85";
9*22104Smckusick #endif not lint
10*22104Smckusick 
1113509Ssam setegid(egid)
1213509Ssam 	int egid;
1313509Ssam {
1413509Ssam 
1513509Ssam 	return (setregid(-1, egid));
1613509Ssam }
17