443
edits
-
Changes
Created page with "<strong>TIME</strong> ==SYNOPSIS== #include <time.h> time_t time(time_t * t) ==DESCRIPTION== This function returns the current time in seconds since 00:00:00 on J..."
<strong>TIME</strong>
==SYNOPSIS==
#include <time.h>
time_t time(time_t * t)
==DESCRIPTION==
This function returns the current time in seconds since
00:00:00 on Jan 1, 1970. If the argument t is non-null, the same value is stored into the object pointed
to by t. The accuracy of this function is naturally
dependent on the operating system having the correct
time. This function does not work under CP/M-86 or CP/M
2.2 but does work under Concurrent-CP/M and CP/M+.
==SEE ALSO==
ctime, gmtime, localtime, asctime
==SYNOPSIS==
#include <time.h>
time_t time(time_t * t)
==DESCRIPTION==
This function returns the current time in seconds since
00:00:00 on Jan 1, 1970. If the argument t is non-null, the same value is stored into the object pointed
to by t. The accuracy of this function is naturally
dependent on the operating system having the correct
time. This function does not work under CP/M-86 or CP/M
2.2 but does work under Concurrent-CP/M and CP/M+.
==SEE ALSO==
ctime, gmtime, localtime, asctime