[Bug 2182] broken RTEMS CLOCKS_PER_SEC interface, when including only time.h
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Mon Jun 23 15:27:40 UTC 2014
https://www.rtems.org/bugzilla/show_bug.cgi?id=2182
--- Comment #2 from Joel Sherrill <joel.sherrill at oarcorp.com> 2014-06-23 10:27:40 CDT ---
As best I can tell, RTEMS is POSIX conformant for sysconf().
http://pubs.opengroup.org/onlinepubs/009695399/functions/sysconf.html
has this as the synopsis:
===============================
#include <unistd.h>
long sysconf(int name);
===============================
And this test code compiles with "sparc-rtems4.11-gcc -c FILE.c"
===============================
#include <unistd.h>
void f(void)
{
long rc;
rc = sysconf(_SC_CLK_TCK);
}
===============================
Please provide code along with the compiler invocation that demonstrates that
something is broken.
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list