.\" Copyright (c) 1980, 1991 Regents of the University of California. .\" All rights reserved. .\" .\" %sccs.include.redist.man% .\" .\" @(#)utime.3 6.5 (Berkeley) 03/29/92 .\" .Dd .Dt UTIME 3 .Os BSD 4 .Sh NAME .Nm utime .Nd set file times .Sh SYNOPSIS .Fd #include .Fd #include .Ft int .Fn utime "const char *file" "const struct utimbuf *timep" .Sh DESCRIPTION .Bf -symbolic This interface is obsoleted by utimes(2) . .Ef .Pp .Sh DESCRIPTION The .Fn utime function sets the access and modification times of the named file from the structures in the argument array .Fa timep . .Pp The calling process's effective user ID must match the owner of the file or must be the super-user. .Sh SEE ALSO .Xr utimes 2 , .Xr stat 2 .Sh HISTORY A .Fn utime function appeared in .At v7 .