UTIME(3) BSD Programmer's Manual UTIME(3) NNAAMMEE uuttiimmee - set file times SSYYNNOOPPSSIISS ##iinncclluuddee <<ssyyss//ttyyppeess..hh>> ##iinncclluuddee <<uuttiimmee..hh>> _i_n_t uuttiimmee(_c_o_n_s_t _c_h_a_r _*_f_i_l_e, _c_o_n_s_t _s_t_r_u_c_t _u_t_i_m_b_u_f _*_t_i_m_e_p); DDEESSCCRRIIPPTTIIOONN TThhiiss iinntteerrffaaccee iiss oobbssoolleetteedd bbyy uuttiimmeess((22)) .. The uuttiimmee() function sets the access and modification times of the named file from the structures in the argument array _t_i_m_e_p. If the times are specified (the _t_i_m_e_p argument is non-NULL) the caller must be the owner of the file or be the super-user. If the times are not specified (the _t_i_m_e_p argument is NULL) the caller must be the owner of the file, have permission to write the file, or be the super-user. EERRRROORRSS The uuttiimmee() function may fail and set _e_r_r_n_o for any of the errors speci- fied for the library function utimes(2). SSEEEE AALLSSOO utimes(2), stat(2) HHIISSTTOORRYY A uuttiimmee() function appeared in Version 7 AT&T UNIX. SSTTAANNDDAARRDDSS The uuttiimmee function conforms to IEEE Std1003.1-1988 (``POSIX''). 4th Berkeley Distribution June 4, 1993 1