| //===----------------------------------------------------------------------===// |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| // See https://llvm.org/LICENSE.txt for license information. |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| //===----------------------------------------------------------------------===// |
| void (*signal(int sig, void (*func)(int)))(int); |
| #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER) |
| #pragma GCC system_header |
| _LIBCPP_BEGIN_NAMESPACE_STD |
| using ::sig_atomic_t _LIBCPP_USING_IF_EXISTS; |
| using ::signal _LIBCPP_USING_IF_EXISTS; |
| using ::raise _LIBCPP_USING_IF_EXISTS; |
| _LIBCPP_END_NAMESPACE_STD |
| #endif // _LIBCPP_CSIGNAL |