uuttiimmee() -- System Call (libc)

Change file access and modification times
#iinncclluuddee <ssyyss/ttyyppeess.hh>
#iinncclluuddee <uuttiimmee.h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];

uuttiimmee() sets  the access and  modification times associated  with the given
_f_i_l_e to times obtained  from _t_i_m_e_s[00] and ttiimmeess[11], respectively.  The time
of last change to the attributes is set to the time of the uuttiimmee() call.

This call must be made by the owner of _f_i_l_e or by the superuser.

_F_i_l_e_s
<ssyyss/ttyyppeess.hh>

_S_e_e _A_l_s_o
lliibbcc, rreessttoorr, ssttaatt()
POSIX Standard, section 5.6.6

_D_i_a_g_n_o_s_t_i_c_s
uuttiimmee() returns -1 on errors, such as if _f_i_l_e does not exist or the invoker
not the owner.
