

utime()                COHERENT System Call               utime()




Change file access and modification times

#include <sys/types.h>
iinntt uuttiimmee(_f_i_l_e, _t_i_m_e_s)
cchhaarr *_f_i_l_e;
ttiimmee_tt _t_i_m_e_s[22];

utime sets the  access and modification times associated with the
given file to  times obtained from times[0] and times[1], respec-
tively.  The time of last change  to the attributes is set to the
time of the utime call.

This call must be made by the owner of file or by the superuser.

***** Files *****

<sys/types.h>

***** See Also *****

COHERENT system calls, restor, stat()

***** Diagnostics *****

utime returns -1 on errors, such as if file does not exist or the
invoker not the owner.






























COHERENT Lexicon                                           Page 1


