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?