This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

nanosleep

it looks like nanoslep is in Timer.h but wit the below definition, however, when I try and use it it error "undefine reference". I see in clock.c there is a  clock_nanosleep with a different fields.

using am335x pdk

NDK 3.60.0.13

sys/bios 6.75.2.00

I have added posix wit no lucky. has nanosleep be replaced or ...?

int _EXFUN(nanosleep, (const struct timespec  *rqtp, struct timespec *rmtp));

int clock_nanosleep(clockid_t clockId, int flags,const struct timespec *rqtp, struct timespec *rmtp)

any help would be great!!

Rob