LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (http://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   clcok_get(CLOCK_MONOTONIC returns error "Invalid Argument" (http://www.linuxquestions.org/questions/linux-kernel-70/clcok_get-clock_monotonic-returns-error-invalid-argument-769958/)

raghupv30 11-18-2009 09:39 AM

clcok_get(CLOCK_MONOTONIC returns error "Invalid Argument"
 
Hi,

I am interested in finding the MONOTONIC value of the clock.
After executing the system call
clock_gettime(CLOCK_MONOTONIC, &timespec); I find an error and perror points as "Invalid Argument".
I am executing this system call on a broaband router which customised freewrt linux.
Does anyone know how to get CLOCK_MONOTONIC time?

Thanks,
Raghu

cladisch 11-19-2009 03:45 AM

Either your libc or your kernel does not implement CLOCK_MONOTONIC.


All times are GMT -5. The time now is 11:23 AM.