xref: /csrg-svn/lib/libc/gen/utime.c (revision 12845)
1*12845Ssam /*	utime.c	4.2	83/05/31	*/
212844Ssam 
3*12845Ssam #include <sys/time.h>
412844Ssam /*
512844Ssam  * Backwards compatible utime.
612844Ssam  */
712844Ssam 
812844Ssam utime(name, otv)
912844Ssam 	char *name;
1012844Ssam 	int otv[];
1112844Ssam {
1212844Ssam 	struct timeval tv[2];
1312844Ssam 
1412844Ssam 	tv[0].tv_sec = otv[0]; tv[0].tv_usec = 0;
1512844Ssam 	tv[1].tv_sec = otv[1]; tv[1].tv_usec = 0;
1612844Ssam 	return (utimes(name, tv));
1712844Ssam }
18