.\" -*- coding: UTF-8 -*- .\" Copyright (c) 1992 Drew Eckhardt (drew@cs.colorado.edu), March 28, 1992 .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" .\" Modified by Michael Haardt .\" Modified Sat Jul 24 14:13:40 1993 by Rik Faith .\" Additions by Joseph S. Myers , 970909 .\" .\"******************************************************************* .\" .\" This file was generated with po4a. Translate the source file. .\" .\"******************************************************************* .TH time 2 "11 november 2023" "Linux man\-pages 6.06" .SH NAAM time \- krijg de tijd in seconden .SH BIBLIOTHEEK Standard C bibliotheek (\fIlibc\fP, \fI\-lc\fP) .SH SAMENVATTING .nf \fB#include \fP .P \fBtime_t time(time_t Null_baar*_\fP\fItloc\fP\fB);\fP .fi .SH BESCHRIJVING \fBtime\fP() geeft de tijd terug sinds het Epoch (00:00:00 GMT, Januari 1, 1970), gemeten in seconden. .P Als \fItloc\fP ongelijk\-NULL is, dan wordt de terugkeer\-waarde ook opgeborgen in het geheugen waarnaar gewezen wordt door \fItloc\fP. .SH "EIND WAARDE" Bij succes wordt de waarde van de tijd in seconden sinds het Epoch teruggegeven. Bij falen wordt \fI((time_t)\ \-1)\fP teruggegeven en wordt \fIerrno\fP overeenkomstig gezet. .SH FOUTEN .TP \fBEOVERFLOW\fP The time cannot be represented as a \fItime_t\fP value. This can happen if an executable with 32\-bit \fItime_t\fP is run on a 64\-bit kernel when the time is 2038\-01\-19 03:14:08 UTC or later. However, when the system time is out of \fItime_t\fP range in other situations, the behavior is undefined. .TP \fBEFAULT\fP \fItloc\fP wijst buiten door u toegankelijke adres ruimte. .IP Op systemen waar de C bibliotheek \fBtime\fP() omwikkel functie een beroep doet op een implementatie voorzien door de \fBvdso\fP(7) (zodat er geen trap naar de kernel is), kan een ongeldig adres tot het \fBSIGSEGV\fP signaal leiden. .SH VERSIES POSIX.1 defines \fIseconds since the Epoch\fP using a formula that approximates the number of seconds between a specified time and the Epoch. This formula takes account of the facts that all years that are evenly divisible by 4 are leap years, but years that are evenly divisible by 100 are not leap years unless they are also evenly divisible by 400, in which case they are leap years. This value is not the same as the actual number of seconds between the time and the Epoch, because of leap seconds and because system clocks are not required to be synchronized to a standard reference. Linux systems normally follow the POSIX requirement that this value ignore leap seconds, so that conforming systems interpret it consistently; see POSIX.1\-2018 Rationale A.4.16. .P Applications intended to run after 2038 should use ABIs with \fItime_t\fP wider than 32 bits; see \fBtime_t\fP(3type). .SS "C library/kernel verschillen" Op sommige architecture, wordt in een implementatie van \fBtime\fP() voorzien door \fBvdso\fP(7). .SH "VOLDOET AAN" C11, POSIX.1\-2008. .SH GESCHIEDENIS .\" Under 4.3BSD, this call is obsoleted by .\" .BR gettimeofday (2). SVr4, 4.3BSD, C89, POSIX.1\-2001. .SH BUGS Foutief teruggegeven waarden van deze systeem aanroep kunnen niet onderscheiden worden van succesvolle rapportages dat de tijd een aantal seconden \fIvoor\fP de Epoch, daarom zet de C bibliotheek omwikkel functie nooit \fIerrno\fP als resultaat van deze aanroep. .P Het \fItloc\fP argument is overbodig en moet altijd NULL zijn in nieuwe code. Wanneer \fItloc\fP gelijk is aan NULL, kan de aanroep nooit falen. .SH "ZIE OOK" \fBdate\fP(1), \fBgettimeofday\fP(2), \fBctime\fP(3), \fBftime\fP(3), \fBtime\fP(7), \fBvdso\fP(7) .PP .SH VERTALING De Nederlandse vertaling van deze handleiding is geschreven door Jos Boersema , Mario Blättermann en Luc Castermans . .PP Deze vertaling is vrije documentatie; lees de .UR https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 .UE of later over de Copyright-voorwaarden. Er is geen AANSPRAKELIJKHEID. .PP Indien U fouten in de vertaling van deze handleiding zou vinden, stuur een e-mail naar .MT debian-l10n-dutch@lists.debian.org .ME .