xref: /csrg-svn/lib/libc/gen/seteuid.c (revision 22105)
1*22105Smckusick /*
2*22105Smckusick  * Copyright (c) 1983 Regents of the University of California.
3*22105Smckusick  * All rights reserved.  The Berkeley software License Agreement
4*22105Smckusick  * specifies the terms and conditions for redistribution.
5*22105Smckusick  */
613508Ssam 
7*22105Smckusick #ifndef lint
8*22105Smckusick static char sccsid[] = "@(#)seteuid.c	5.1 (Berkeley) 06/05/85";
9*22105Smckusick #endif not lint
10*22105Smckusick 
1113508Ssam seteuid(euid)
1213508Ssam 	int euid;
1313508Ssam {
1413508Ssam 
1513508Ssam 	return (setreuid(-1, euid));
1613508Ssam }
17