From c000cdad1aa963d190eed7494a7a3df82c91ae99 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 26 Jun 2000 18:12:12 +0000 Subject: Update. 2000-06-26 Ulrich Drepper * rt/Makefile (librt-routines): Add clock_nanosleep. * rt/Versions [GLIBC_2.2] (librt): Add clock_nanosleep. * sysdeps/generic/clock_nanosleep.c: New file. * sysdeps/unix/clock_nanosleep.c: New file. * sysdeps/unix/i386/i586/clock_nanosleep.c: New file. * time/time.h: Declare clock_nanosleep. --- time/time.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'time') diff --git a/time/time.h b/time/time.h index f4a3eb1ef3..08a4a98b7b 100644 --- a/time/time.h +++ b/time/time.h @@ -277,6 +277,11 @@ extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp) __THROW; # ifdef __USE_XOPEN2K +/* High-resolution sleep with the specified clock. */ +extern int clock_nanosleep (clockid_t __clock_id, int __flags, + __const struct timespec *__req, + struct timespec *__rem) __THROW; + /* Return clock ID for CPU-time clock. */ extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __THROW; # endif -- cgit 1.4.1