This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: question about gettimeofday()?


If I add net package to ecos ,can I use this function?
if it does,please tell me the detail about configure
ecos. 
--- Jesper Skov <jskov@redhat.com> wrote:
> >>>>> "li" == li hui <lhbyron@yahoo.com> writes:
> 
> li> In my program ,I use function gettimeofday()
> which is defined in
> li> the sys/time.h.But It always note me undefined
> reference to
> li> gettimeofday when compiling.  please tell me how
> can I enactive
> li> this function.
> 
> You can't. The function is not defined in eCos. It's
> in the header
> file because that comes from the net stack - which
> appears to provide
> its own implementation. See
> net/tcpip/current/tests/nc_test_master.c
> 
> Jesper
> 
> 


__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]