aboutsummaryrefslogtreecommitdiff
path: root/time/time.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-06-26 18:12:12 +0000
committerUlrich Drepper <drepper@redhat.com>2000-06-26 18:12:12 +0000
commitc000cdad1aa963d190eed7494a7a3df82c91ae99 (patch)
tree52ac2d0000dbc256e7fa5994556de0336a0e6330 /time/time.h
parent5839de1d375531e35cda9dcf935e209ab68dd392 (diff)
downloadglibc-c000cdad1aa963d190eed7494a7a3df82c91ae99.tar
glibc-c000cdad1aa963d190eed7494a7a3df82c91ae99.tar.gz
glibc-c000cdad1aa963d190eed7494a7a3df82c91ae99.tar.bz2
glibc-c000cdad1aa963d190eed7494a7a3df82c91ae99.zip
Update.
2000-06-26 Ulrich Drepper <drepper@redhat.com> * 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.
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