clcok_get(CLOCK_MONOTONIC returns error "Invalid Argument"
I am interested in finding the MONOTONIC value of the clock.
After executing the system call
clock_gettime(CLOCK_MONOTONIC, ×pec); 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?
Either your libc or your kernel does not implement CLOCK_MONOTONIC.
|All times are GMT -5. The time now is 04:57 AM.|