unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (4.2BSD)
Page:
Section:
Apropos / Subsearch:
optional field

UTIME(3C)                                                            UTIME(3C)



NAME
       utime - set file times

SYNOPSIS
       #include <&lt;sys/types.h>&gt;

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

DESCRIPTION
       This interface is obsoleted by utimes(2).

       The  utime  call  uses the `accessed' and `updated' times in that order
       from the timep vector to set the corresponding recorded times for file.

       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)



4th Berkeley Distribution        1 April 1983                        UTIME(3C)