Hi, There:

Is there any folks porting pSoS code to RTLinux?
There is a pSoS system calls like tm_set(), tm_get()
to allow you set or get the system version date and
time.  Does anybody know which function I can use in
RTLinux to replace those calls?

I am using Linux Kernel 2.4.4 with RTLinux 3.0.  Thank
you for the help.

Minjie




use the posix funktions for time. for the version I think it will be included in 
modversion,h

#include <time.h>

int clock_settime(clockid_t clock_id, const struct timespec *tp);
int clock_gettime(clockid_t clock_id, struct timespec *tp);
int clock_getres(clockid_t clock_id, struct timespec *res);

Anders Gnistrup

-- [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/

Reply via email to