xref: /csrg-svn/lib/libc/gen/seteuid.c (revision 26585)
122105Smckusick /*
222105Smckusick  * Copyright (c) 1983 Regents of the University of California.
322105Smckusick  * All rights reserved.  The Berkeley software License Agreement
422105Smckusick  * specifies the terms and conditions for redistribution.
522105Smckusick  */
613508Ssam 
7*26585Sdonn #if defined(LIBC_SCCS) && !defined(lint)
8*26585Sdonn static char sccsid[] = "@(#)seteuid.c	5.2 (Berkeley) 03/09/86";
9*26585Sdonn #endif LIBC_SCCS and not lint
1022105Smckusick 
1113508Ssam seteuid(euid)
1213508Ssam 	int euid;
1313508Ssam {
1413508Ssam 
1513508Ssam 	return (setreuid(-1, euid));
1613508Ssam }
17