4.3BSD-UWisc/man/cat3/utime.3c




UTIME(3C)           UNIX Programmer's Manual            UTIME(3C)



NAME
     utime - set file times

SYNOPSIS
     #include <sys/types.h>

     utime(file, timep)
     char *file;
     time_t timep[2];

DESCRIPTION
     This interface is obsoleted by utimes(2).

     The _u_t_i_m_e call uses the `accessed' and `updated' times in
     that order from the _t_i_m_e_p vector to set the corresponding
     recorded times for _f_i_l_e.

     The caller must be the owner of the file or the super-user.
     The `inode-changed' time of the file is set to the current
     time.

SEE ALSO
     utimes(2), stat(2)
































Printed 12/27/86           May 9, 1985                          1