about summary refs log tree commit diff
path: root/time/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'time/time.h')
-rw-r--r--time/time.h5
1 files changed, 5 insertions, 0 deletions
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