Hello Norm, 
  Thanks a lot for the help.
I have another query, it is as follows:
How do I "arm" a timer in rt linux ?
When the armed timer times out, I want to call my handler
function(call back function).

How do I know that the timer which I have set has timed out ?

thanks in advance,
kind regards,
daniel.


----- Original Message -----
From: "Norm Dresner" <[EMAIL PROTECTED]>
Date: Saturday, February 16, 2002 1:20 am
Subject: Re: [rtl] use of localtime() and strftime()

> struct    timeval        Now;
> int        status = do_gettimeofday( &Now );
> 
> 
>        Norm
> 
> 
> ----- Original Message ----- 
> From: Daniel Marian <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Friday, February 15, 2002 6:43 AM
> Subject: [rtl] use of localtime() and strftime()
> 
> 
> > Hello, 
> >    I am new to RT linux, from the manuals I was able to
> > successfully install RT linux on my machine.
> > I used a patched kernel(/usr/src/linu> file).
> > 
> > Now my doubt is can I call the POSIX time functions 
> > localtime() and strftime() in my RTL module.
> > 
> > I tried using them, compilation was through with warnings but when
> > I started the module(rtlinux start time_tst.o) it gave unresolved 
> > symbol error for localtime and strftime.
> > 
> > I have included time.h in my module.
> > 
> > Please help,
> > Thanks in advance,
> > kind regards,
> > Daniel Marian.
> > 
> > 
> > ps : kindly ignore the attachement.
> > 
> > 
> 
> 

**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.


 ********************************************************************

Reply via email to