/*
 *  arch/i386/sigposix.h
 *
 * =========================================================================
 *
 *                          Open Watcom Project
 *
 * Copyright (c) 2004-2026 The Open Watcom Contributors. All Rights Reserved.
 *
 *    This file is automatically generated. Do not edit directly.
 *
 * =========================================================================
 */

#define _NSIG       64
#define _NSIG_BPW   (sizeof( unsigned long ) * 8)
#define _NSIG_WORDS (_NSIG / _NSIG_BPW)

typedef struct {
    unsigned long sig[_NSIG_WORDS];
} sigset_t;

struct sigaction {
    union {
        void        (_WCCALLBACK *sa_handler)(int);
        void        (_WCCALLBACK *sa_sigaction)(int, siginfo_t *, void *);
    } _u;
    unsigned long   sa_flags;
    void            (_WCCALLBACK *sa_restorer)(void);
    sigset_t        sa_mask;
};
# define sa_handler     _u.sa_handler
# define sa_sigaction   _u.sa_sigaction
