/* * Copyright (c) 1983 Regents of the University of California. * All rights reserved. * * %sccs.include.redist.c% */ #if defined(LIBC_SCCS) && !defined(lint) static char sccsid[] = "@(#)setruid.c 5.5 (Berkeley) 02/23/91"; #endif /* LIBC_SCCS and not lint */ #include int #ifdef __STDC__ setruid(uid_t ruid) #else setruid(ruid) int ruid; #endif { return (setreuid(ruid, -1)); }