(C) 1998 AROS - The Amiga Research OS


NAME
#include <time.h>

time_t time ()

SYNOPSIS
time_t * tloc

FUNCTION
time() returns the time since 00:00:00 GMT, January 1, 1970, measured in seconds.

INPUTS
tloc
If this pointer is non-NULL, then the time is written into this variable as well.

RESULT
The number of seconds.

EXAMPLE
time_t tt1, tt2;

// tt1 and tt2 are the same
tt1 = time (&tt2);

// This is valid, too
tt1 = time (NULL);
SEE ALSO
ctime(), asctime(), localtime()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
29.01.1997 digulla
Added most time functions