-

Difference between revisions of "Functions HI-TECH C TIME"

From HI-TECH C for CP/M Fan WIKI(EN)
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 00:14, 1 August 2017

TIME

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