Warning: This file is not a C or C++ file. It does not have highlighting.
| 1 | //===-- Definition of GPU signal number macros ----------------------------===// |
|---|---|
| 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-exception |
| 6 | // |
| 7 | //===----------------------------------------------------------------------===// |
| 8 | |
| 9 | #ifndef LLVM_LIBC_MACROS_GPU_SIGNAL_MACROS_H |
| 10 | #define LLVM_LIBC_MACROS_GPU_SIGNAL_MACROS_H |
| 11 | |
| 12 | #define SIGINT 2 |
| 13 | #define SIGILL 4 |
| 14 | #define SIGABRT 6 |
| 15 | #define SIGFPE 8 |
| 16 | #define SIGSEGV 11 |
| 17 | #define SIGTERM 15 |
| 18 | |
| 19 | #define SIG_DFL ((void (*)(int))(0)) |
| 20 | #define SIG_IGN ((void (*)(int))(1)) |
| 21 | #define SIG_ERR ((void (*)(int))(-1)) |
| 22 | |
| 23 | // Max signal number |
| 24 | #define NSIG 64 |
| 25 | |
| 26 | #define __NSIGSET_WORDS NSIG |
| 27 | |
| 28 | #endif // LLVM_LIBC_MACROS_GPU_SIGNAL_MACROS_H |
| 29 |
Warning: This file is not a C or C++ file. It does not have highlighting.
