Prototype warning for clock_nanosleep()
Joel Sherrill
joel at rtems.org
Wed Nov 9 19:10:33 UTC 2016
Hi
In a build sweep, I noticed that every use of clock_nanosleep()
has a warning for it not being defined. I don't seem to be able
to find the magic to turn on the prototype in time.h. Does
anyone see what needs to be done?
==================
#define _POSIX_C_SOURCE 200112L
#include <time.h>
void f(void)
{
int rc;
rc = clock_nanosleep();
}
==================
Thanks.
--joel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20161109/3d437438/attachment.html>
More information about the devel
mailing list