llvm/libc/include/llvm-libc-types/sigset_t.h

//===-- Definition of sigset_t type ---------------------------------------===//
//
// 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
//
//===----------------------------------------------------------------------===//

#ifndef LLVM_LIBC_TYPES_SIGSET_T_H
#define LLVM_LIBC_TYPES_SIGSET_T_H

#include "llvm-libc-macros/signal-macros.h"

// This definition can be adjusted/specialized for different targets and
// platforms as necessary. This definition works for Linux on most targets.
struct sigset_t {
  unsigned long __signals[__NSIGSET_WORDS];
};

#endif // LLVM_LIBC_TYPES_SIGSET_T_H