diff options
author | Jack Ren <jack.ren@intel.com> | 2012-04-17 11:20:15 +0800 |
---|---|---|
committer | Jack Ren <jack.ren@intel.com> | 2012-04-16 23:53:05 +0800 |
commit | d515ce465be909d830a39462c3f196b5d7f35c66 (patch) | |
tree | 707c0067ad2351d96bba6fd19f14e04e5223514c /libc/include | |
parent | 6bc18fa58849a4307cf6ddcfd526d9258e8175fc (diff) | |
download | bionic-d515ce465be909d830a39462c3f196b5d7f35c66.zip bionic-d515ce465be909d830a39462c3f196b5d7f35c66.tar.gz bionic-d515ce465be909d830a39462c3f196b5d7f35c66.tar.bz2 |
Bionic: Fix wrong prototype of system call clock_nanosleep
In bionic/libc/SYSCALLS.TXT, the prototype of system call
clock_nanosleep is incorrect.
According to man page:
int clock_nanosleep(clockid_t clock_id, int flags,
const struct timespec *request,
struct timespec *remain);
Change-Id: Ic44c6db3d632293aa17998035554eacd664c2d57
Signed-off-by: Jin Wei <wei.a.jin@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Diffstat (limited to 'libc/include')
-rw-r--r-- | libc/include/sys/linux-unistd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/sys/linux-unistd.h b/libc/include/sys/linux-unistd.h index d945d87..8422d7e 100644 --- a/libc/include/sys/linux-unistd.h +++ b/libc/include/sys/linux-unistd.h @@ -142,7 +142,7 @@ int nanosleep (const struct timespec *, struct timespec *); int clock_gettime (clockid_t clk_id, struct timespec *tp); int clock_settime (clockid_t clk_id, const struct timespec *tp); int clock_getres (clockid_t clk_id, struct timespec *res); -int clock_nanosleep (const struct timespec *req, struct timespec *rem); +int clock_nanosleep (clockid_t clock_id, int flags, const struct timespec *req, struct timespec *rem); int getitimer (int, const struct itimerval *); int setitimer (int, const struct itimerval *, struct itimerval *); int __timer_create (clockid_t clockid, struct sigevent *evp, timer_t *timerid); |