]>
git.proxmox.com Git - wasi-libc.git/blob - libc-bottom-half/cloudlibc/src/libc/time/nanosleep.c
66cbbdfacec9830c71feb053372278701ba8be75
1 // Copyright (c) 2015 Nuxi, https://nuxi.nl/
3 // SPDX-License-Identifier: BSD-2-Clause
10 int nanosleep(const struct timespec
*rqtp
, struct timespec
*rem
) {
11 int error
= clock_nanosleep(CLOCK_REALTIME
, 0, rqtp
, rem
);
19 #if defined(_REENTRANT)
20 __strong_reference(nanosleep
, thrd_sleep
);