2 * nanosleep() for uClibc
4 * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
6 * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
9 #include <sys/syscall.h>
14 int _NC(nanosleep
)(const struct timespec
*req
, struct timespec
*rem
)
16 int __ret
= clock_nanosleep(CLOCK_REALTIME
, 0, req
, rem
);
26 CANCELLABLE_SYSCALL(int, nanosleep
,
27 (const struct timespec
*req
, struct timespec
*rem
),
30 lt_libc_hidden(nanosleep
)