2 //===----------------------------------------------------------------------===//
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 _LIBCPP_CSIGNAL
11 #define _LIBCPP_CSIGNAL
35 void (*signal(int sig, void (*func)(int)))(int);
45 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
46 #pragma GCC system_header
49 _LIBCPP_BEGIN_NAMESPACE_STD
51 using ::sig_atomic_t _LIBCPP_USING_IF_EXISTS;
52 using ::signal _LIBCPP_USING_IF_EXISTS;
53 using ::raise _LIBCPP_USING_IF_EXISTS;
55 _LIBCPP_END_NAMESPACE_STD
57 #endif // _LIBCPP_CSIGNAL