Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ utime(2) — UNIX 7th Edition

Media Vault

Software Library

Restoration Projects

Artifacts Sought

UTIME(2)  —  UNIX Programmer’s Manual

NAME

utime − set file times

SYNOPSIS

#include <sys/types.h>
utime(file, timep)
char *file;
time_t timep[2];

DESCRIPTION

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

stat (2)

ASSEMBLER

(utime = 30.) 
sys utime; file; timep

7th Edition

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026