121335Sdist /* 221335Sdist * Copyright (c) 1980 Regents of the University of California. 321335Sdist * All rights reserved. The Berkeley software License Agreement 421335Sdist * specifies the terms and conditions for redistribution. 521335Sdist */ 612844Ssam 7*26522Sdonn #if defined(LIBC_SCCS) && !defined(lint) 8*26522Sdonn static char sccsid[] = "@(#)utime.c 5.2 (Berkeley) 03/09/86"; 9*26522Sdonn #endif LIBC_SCCS and not lint 1021335Sdist 1112845Ssam #include <sys/time.h> 1212844Ssam /* 1312844Ssam * Backwards compatible utime. 1412844Ssam */ 1512844Ssam 1612844Ssam utime(name, otv) 1712844Ssam char *name; 1812844Ssam int otv[]; 1912844Ssam { 2012844Ssam struct timeval tv[2]; 2112844Ssam 2212844Ssam tv[0].tv_sec = otv[0]; tv[0].tv_usec = 0; 2312844Ssam tv[1].tv_sec = otv[1]; tv[1].tv_usec = 0; 2412844Ssam return (utimes(name, tv)); 2512844Ssam } 26