Annotation of 42BSD/lib/libc/compat-4.1/utime.c, revision 1.1

1.1     ! root        1: /*     utime.c 4.2     83/05/31        */
        !             2: 
        !             3: #include <sys/time.h>
        !             4: /*
        !             5:  * Backwards compatible utime.
        !             6:  */
        !             7: 
        !             8: utime(name, otv)
        !             9:        char *name;
        !            10:        int otv[];
        !            11: {
        !            12:        struct timeval tv[2];
        !            13: 
        !            14:        tv[0].tv_sec = otv[0]; tv[0].tv_usec = 0;
        !            15:        tv[1].tv_sec = otv[1]; tv[1].tv_usec = 0;
        !            16:        return (utimes(name, tv));
        !            17: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.