utime.2: Add note that modern applications probably want utimensat(2) etc.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2014-02-21 11:27:05 +01:00
parent ee9c4ceabf
commit bdc80a72dd
1 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,7 @@
.\" Modified 2004-06-23 by Michael Kerrisk <mtk.manpages@gmail.com>
.\" Modified 2004-10-10 by Andries Brouwer <aeb@cwi.nl>
.\"
.TH UTIME 2 2008-08-06 "Linux" "Linux Programmer's Manual"
.TH UTIME 2 2014-02-21 "Linux" "Linux Programmer's Manual"
.SH NAME
utime, utimes \- change file last access and modification times
.SH SYNOPSIS
@ -44,6 +44,10 @@ utime, utimes \- change file last access and modification times
.BI "int utimes(const char *" filename ", const struct timeval " times [2]);
.fi
.SH DESCRIPTION
.B Note:
modern applications may prefer to use the interfaces described in
.BR utimensat (2).
The
.BR utime ()
system call