/* * Copyright (c) 2018 Friedt Professional Engineering Services, Inc * * SPDX-License-Identifier: Apache-2.0 */ #include #include #include #include /* required for struct timespec */ #include #include #include /** * @brief Suspend execution for nanosecond intervals. * * See IEEE 1003.1 */ int nanosleep(const struct timespec *rqtp, struct timespec *rmtp) { return clock_nanosleep(CLOCK_MONOTONIC, 0, rqtp, rmtp); }