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/linux/arch/i386/kernel had rtlinux.c
> 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.
>
>
-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
--
For more information on Real-Time Linux see:
http://www.rtlinux.org/