.\" Hey Emacs! This file is -*- nroff -*- source. .\" .\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992 .\" .\" Permission is granted to make and distribute verbatim copies of this .\" manual provided the copyright notice and this permission notice are .\" preserved on all copies. .\" .\" Permission is granted to copy and distribute modified versions of this .\" manual under the conditions for verbatim copying, provided that the .\" entire resulting derived work is distributed under the terms of a .\" permission notice identical to this one .\" .\" Since the Linux kernel and libraries are constantly changing, this .\" manual page may be incorrect or out-of-date. The author(s) assume no .\" responsibility for errors or omissions, or for damages resulting from .\" the use of the information contained herein. The author(s) may not .\" have taken the same level of care in the production of this manual, .\" which is licensed free of charge, as they might when working .\" professionally. .\" .\" Formatted or processed versions of this manual, if unaccompanied by .\" the source, must acknowledge the copyright and authors of this work. .\" .\" Modified by Michael Haardt .\" Modified Sat Jul 24 13:03:05 1993 by Rik Faith .\" Modified 10 June 1995 by Andries Brouwer .\" .TH UTIME 2 "10 Juni 1995" "Linux" "Linux Programmeurs Handleiding" .SH NAAM utime, utimes \- verander toegang en/of verander tijden van een "inode" .SH OVERZICHT .B #include .br .B #include .sp .BI "int utime(const char *" bestandnaam ", struct utimbuf *" buf ); .sp 2 .B #include .sp .BI "int utimes(char *" bestandnaam ", struct timeval *" tvp ); .SH BESCHRIJVING .B utime veranderd de toegangs- en verander- tijden van een "inode", opgegeven in .I bestandnaam naar de .I "actime" en .I "modtime" velden van .I buf respectievelijk. Als .I buf .BR NULL is, dan worden de toegangs- en verander- tijden van het bestand naar de huidige tijd gezet. De .I utimbuf structuur is: .RS .nf struct utimbuf { time_t actime; /* toegangs tijd */ time_t modtime; /* verander tijd */ }; .fi .RE In de Linux DLL 4.4.1 bibliotheken is .B utimes gewoon een wikkel {eng: wrapper} voor .BR utime: .IR tvp [0]. tv_sec is .IR actime , en .IR tvp [1]. tv_sec is .IR modtime . De .I timeval structuur is: .RS .nf struct timeval { long tv_sec; /* seconden */ long tv_usec; /* microseconden */ }; .fi .RE .SH "TERUGGEEF WAARDE" Bij success wordt nul teruggegeven. Bij falen wordt \-1 teruggegeven, en .I errno wordt passend gezet. .SH FOUTEN Andere fouten kunnen optreden. .TP .B EACCES {toegang} toestemming om een bestand te schrijven wordt geweigerd. .TP .B ENOENT {geen ingang} .I bestandnaam bestaat niet. .SH "VOLDOET AAN" .BR utime : SVr4, SVID, POSIX. SVr4 beschrijft extra fouttoestanden EFAULT, EINTR, ELOOP, EMULTIHOP, ENAMETOOLONG, ENOLINK, ENOTDIR, ENOLINK, ENOTDIR, EPERM, EROFS. .br .BR utimes : BSD 4.3 .SH "ZIE .BR stat "(2) {status}" .\" Translated Nov 9 2000 by Jos Boersema .\" .SH VERTALING Dit is een handleiding uit \fBmanpages-dev 1.29\fR. Alles wat tussen `\fB{\fR'..`\fB}\fR' staat is \fBaanvullende vertaling\fR, en hoort \fBniet\fR bij de originele handleiding. Email naar . .\"Vertaling Jos Boersema $Id: utime.2,v 1.1 2003/04/28 18:43:35 bokkie Exp $