[flang] Accept polymorphic component element in storage_size
[llvm-project.git] / libc / src / time / nanosleep.h
blob5177ef0f63acd91b971e75c4e631b7ab4d9318ec
1 //===-- Implementation header of nanosleep -------------------------*- C++
2 //-*-===//
3 //
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
7 //
8 //===----------------------------------------------------------------------===//
10 #ifndef LLVM_LIBC_SRC_TIME_NANOSLEEP_H
11 #define LLVM_LIBC_SRC_TIME_NANOSLEEP_H
13 #include <time.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"