1 .\" Hey Emacs! This file is -*- nroff -*- source.
3 .\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date. The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein. The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
25 .\" Modified by Michael Haardt (u31b3hs@pool.informatik.rwth-aachen.de)
26 .\" Modified Sat Jul 24 13:03:05 1993 by Rik Faith (faith@cs.unc.edu)
27 .\" Modified 10 June 1995 by Andries Brouwer (aeb@cwi.nl)
28 .\" Translated to German Sat Jun 01 12:15:00 1996 by Patrick Rother <krd@gulu.net>
30 .TH UTIME 2 "1. Juni 1996" "Linux" "Systemaufrufe"
32 utime, utimes \- ändere Zugriffs- und/oder Modifikations-Zeiten eines inode
34 .B #include <sys/types.h>
38 .BI "int utime(const char *" filename ", struct utimbuf *" buf );
40 .B #include <sys/time.h>
42 .BI "int utimes(char *" filename ", struct timeval *" tvp );
45 ändert die Zugriffs- und Modifikations-Zeiten des inode, der durch
47 angegeben ist, in die Felder
48 .IR actime " und " modtime
54 ist, dann werden Zugriffs- und Modifikations-Zeiten auf die aktuelle Zeit
63 time_t actime; /* Zugriffszeit */
64 time_t modtime; /* Modifikationszeit */
69 In den Linux DLL 4.4.1 - Bibliotheken ist
87 long tv_sec; /* Sekunden */
88 long tv_usec; /* Microsekunden */
93 Bei Erfolg wird Null zurückgegeben. Im Fehlerfall wird \-1 zurückgegeben und
97 Andere Fehler können Auftreten.
101 Zugriff in die Datei zu schreiben wurde verweigert.