shithub: scc

ref: e4a5cc43d1af9cdda835f29140376d7c3a35fe32
dir: /include/bits/dragonfly/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