diff options
author | Roland McGrath <roland@gnu.org> | 2004-12-06 22:29:01 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-12-06 22:29:01 +0000 |
commit | 60fce589e8c4b177ee5025269987476826ab6b0f (patch) | |
tree | ea2607535f536f8a8ec0df8fac85847b4d16648a /libio/getwc.c | |
parent | bc5cb1e6aaa5f50f7ec508c1f0c1d8a539da0fcd (diff) | |
download | glibc-60fce589e8c4b177ee5025269987476826ab6b0f.tar.gz glibc-60fce589e8c4b177ee5025269987476826ab6b0f.tar.xz glibc-60fce589e8c4b177ee5025269987476826ab6b0f.zip |
* sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Diagnose EINVAL
for CLOCK_THREAD_CPUTIME_ID, not ENOTSUP. Use SYSDEP_NANOSLEEP handler before validating CLOCK_ID value. * rt/tst-timer4.c (TEST_CLOCK, TEST_CLOCK_NANOSLEEP): New macros. Use them throughout in place of CLOCK_REALTIME and nanosleep. (do_test) [TEST_CLOCK_MISSING]: Call this macro and if it returns non-null, punt the test with a message using the string returned. * rt/tst-timer5.c: New file. * rt/Makefile (tests): Add it.
Diffstat (limited to 'libio/getwc.c')
0 files changed, 0 insertions, 0 deletions