26 lines · c
1//===--- signal.h - Stub header for tests -----------------------*- C++ -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8 9#ifndef _SIGNAL_H_10#define _SIGNAL_H_11 12typedef void (*sighandler_t)(int);13 14void _sig_ign(int);15void _sig_dfl(int);16void _sig_err(int);17 18#define SIGINT 119#define SIG_IGN _sig_ign20#define SIG_DFL _sig_dfl21#define SIG_ERR _sig_err22 23sighandler_t signal(int, sighandler_t);24 25#endif // _SIGNAL_H_26