xref: /csrg-svn/lib/libc/gen/setegid.c (revision 26584)
122104Smckusick /*
222104Smckusick  * Copyright (c) 1983 Regents of the University of California.
322104Smckusick  * All rights reserved.  The Berkeley software License Agreement
422104Smckusick  * specifies the terms and conditions for redistribution.
522104Smckusick  */
613509Ssam 
7*26584Sdonn #if defined(LIBC_SCCS) && !defined(lint)
8*26584Sdonn static char sccsid[] = "@(#)setegid.c	5.2 (Berkeley) 03/09/86";
9*26584Sdonn #endif LIBC_SCCS and not lint
1022104Smckusick 
1113509Ssam setegid(egid)
1213509Ssam 	int egid;
1313509Ssam {
1413509Ssam 
1513509Ssam 	return (setregid(-1, egid));
1613509Ssam }
17