1*22109Smckusick /* 2*22109Smckusick * Copyright (c) 1983 Regents of the University of California. 3*22109Smckusick * All rights reserved. The Berkeley software License Agreement 4*22109Smckusick * specifies the terms and conditions for redistribution. 5*22109Smckusick */ 613504Ssam 7*22109Smckusick #ifndef lint 8*22109Smckusick static char sccsid[] = "@(#)setuid.c 5.1 (Berkeley) 06/05/85"; 9*22109Smckusick #endif not lint 10*22109Smckusick 1113504Ssam /* 1213504Ssam * Backwards compatible setuid. 1313504Ssam */ 1413504Ssam setuid(uid) 1513504Ssam int uid; 1613504Ssam { 1713504Ssam 1813504Ssam return (setreuid(uid, uid)); 1913504Ssam } 20