1 //===-- Definition of sigset_t type ---------------------------------------===// 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_TYPES_SIGSET_T_H 10 #define LLVM_LIBC_TYPES_SIGSET_T_H 11 12 #include "../llvm-libc-macros/signal-macros.h" // __NSIGSET_WORDS 13 14 // This definition can be adjusted/specialized for different targets and 15 // platforms as necessary. This definition works for Linux on most targets. 16 struct sigset_t { 17 unsigned long __signals[__NSIGSET_WORDS]; 18 }; 19 20 #endif // LLVM_LIBC_TYPES_SIGSET_T_H 21