shithub: scc

ref: a004412434813b0500807d46d09c2d0cef13205d
dir: /include/bits/darwin/amd64/arch/sigaction.h/

View raw version
typedef unsigned int sigset_t;
typedef struct siginfo siginfo_t;

struct sigaction {
	union {
		void (*__sa_handler)(int);
		void (*__sa_sigaction)(int, siginfo_t *, void *);
	} __sigaction_u;

	sigset_t sa_mask;
	int sa_flags;
};

#define sa_handler      __sigaction_u.__sa_handler
#define sa_sigaction    __sigaction_u.__sa_sigaction