xref: /csrg-svn/lib/libc/compat-43/setruid.c (revision 42626)
122108Smckusick /*
222108Smckusick  * Copyright (c) 1983 Regents of the University of California.
335311Sbostic  * All rights reserved.
435311Sbostic  *
5*42626Sbostic  * %sccs.include.redist.c%
622108Smckusick  */
713506Ssam 
826588Sdonn #if defined(LIBC_SCCS) && !defined(lint)
9*42626Sbostic static char sccsid[] = "@(#)setruid.c	5.4 (Berkeley) 06/01/90";
1035311Sbostic #endif /* LIBC_SCCS and not lint */
1122108Smckusick 
1213506Ssam setruid(ruid)
1313506Ssam 	int ruid;
1413506Ssam {
1513506Ssam 
1613506Ssam 	return (setreuid(ruid, -1));
1713506Ssam }
18