diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-06-26 18:12:12 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-06-26 18:12:12 +0000 |
commit | c000cdad1aa963d190eed7494a7a3df82c91ae99 (patch) | |
tree | 52ac2d0000dbc256e7fa5994556de0336a0e6330 /time | |
parent | 5839de1d375531e35cda9dcf935e209ab68dd392 (diff) | |
download | glibc-c000cdad1aa963d190eed7494a7a3df82c91ae99.zip glibc-c000cdad1aa963d190eed7494a7a3df82c91ae99.tar.gz glibc-c000cdad1aa963d190eed7494a7a3df82c91ae99.tar.bz2 |
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')
-rw-r--r-- | time/time.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/time/time.h b/time/time.h index f4a3eb1..08a4a98 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 |