Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
It's not a exact answer but time, gettime and fopen is depend on
For your reference, here is small information for time() from P@CC.
I hope it can be useful for you.
time_t time (time_t * t)
This function is not provided as it is dependant on the target
system supplying the current time. This function will be user implemented.
When implemented, this function should return the current time in seconds
since 00:00:00 on Jan 1, 1970. If the argument t is not equal to NULL ,
the same value is stored into the object pointed to by t .
void main (void)
printf(" s", ctime(&clock));
ctime(), gmtime(), localtime(), asctime()
This routine when implemented will return the current time in
seconds since 00:00:00 on Jan 1, 1970.
The time() routine is not supplied, if required the user will
have to implement this routine to the specifications outlined above.