xref: /csrg-svn/lib/libc/gen/setgid.c (revision 42626)
122106Smckusick /*
222106Smckusick  * Copyright (c) 1983 Regents of the University of California.
335311Sbostic  * All rights reserved.
435311Sbostic  *
5*42626Sbostic  * %sccs.include.redist.c%
622106Smckusick  */
713505Ssam 
826586Sdonn #if defined(LIBC_SCCS) && !defined(lint)
9*42626Sbostic static char sccsid[] = "@(#)setgid.c	5.4 (Berkeley) 06/01/90";
1035311Sbostic #endif /* LIBC_SCCS and not lint */
1122106Smckusick 
1213505Ssam /*
1313505Ssam  * Backwards compatible setgid.
1413505Ssam  */
setgid(gid)1513505Ssam setgid(gid)
1613505Ssam 	int gid;
1713505Ssam {
1813505Ssam 
1913505Ssam 	return (setregid(gid, gid));
2013505Ssam }
21