Continue to Site

Welcome to EDAboard.com

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.

Hi-Tech "lite" question

Status
Not open for further replies.

cb30

Member level 2
Joined
Feb 21, 2002
Messages
53
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
335
How, can i use Time,Gettime and fopen in hi-tech compiler?
It is posible or it is for an other hi-tech kernel?
 

Hello, cb30

It's not a exact answer but time, gettime and fopen is depend on
your system.
For your reference, here is small information for time() from P@CC.
I hope it can be useful for you.

Good luck.
:roll:

TIME

Synopsis

#include <time.h>

time_t time (time_t * t)


Description

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 .

Example

#include <stdio.h>
#include <time.h>

void main (void)
{
time_t clock;

time(&clock);
printf(" s", ctime(&clock));
}

See Also

ctime(), gmtime(), localtime(), asctime()

Return Value

This routine when implemented will return the current time in
seconds since 00:00:00 on Jan 1, 1970.

Note

The time() routine is not supplied, if required the user will
have to implement this routine to the specifications outlined above.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top