xref: /csrg-svn/lib/libc/gen/setegid.c (revision 42626)
122104Smckusick /*
222104Smckusick  * Copyright (c) 1983 Regents of the University of California.
335311Sbostic  * All rights reserved.
435311Sbostic  *
5*42626Sbostic  * %sccs.include.redist.c%
622104Smckusick  */
713509Ssam 
826584Sdonn #if defined(LIBC_SCCS) && !defined(lint)
9*42626Sbostic static char sccsid[] = "@(#)setegid.c	5.4 (Berkeley) 06/01/90";
1035311Sbostic #endif /* LIBC_SCCS and not lint */
1122104Smckusick 
setegid(egid)1213509Ssam setegid(egid)
1313509Ssam 	int egid;
1413509Ssam {
1513509Ssam 
1613509Ssam 	return (setregid(-1, egid));
1713509Ssam }
18