1 //===-- Implementation header of nanosleep -------------------------*- C++
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_LIBC_SRC_TIME_NANOSLEEP_H
11 #define LLVM_LIBC_SRC_TIME_NANOSLEEP_H
15 namespace __llvm_libc
{
17 int nanosleep(const struct timespec
*req
, struct timespec
*rem
);
19 } // namespace __llvm_libc
21 #endif // LLVM_LIBC_SRC_TIME_NANOSLEEP_H
23 #include "include/time.h"