UTIME
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
BSD 4
NAME
utime
- set file times
SYNOPSIS
Fd #include <sys/types.h>
Ft int
Fn utime const char *file const struct utimbuf *timep
DESCRIPTION
Bf -symbolic
This interface is obsoleted by utimes(2) .
It is available from the compatibility library, libcompat.
Ef
DESCRIPTION
The
Fn utime
function sets the access and modification times of the named file from
the structures in the argument array
Fa timep .
The calling process's effective user ID must match the owner of the
file or must be the super-user.
SEE ALSO
utimes(2),
stat(2)
HISTORY
A
Fn utime
function appeared in
AT&T System
v7 .
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- DESCRIPTION
-
- SEE ALSO
-
- HISTORY
-
This document was created by
man2html,
using the manual pages.
Time: 06:42:16 GMT, May 19, 2025