File: sigact.h

package info (click to toggle)
scheme48 1.8%2Bdfsg-1%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 14,984 kB
file content (15 lines) | stat: -rw-r--r-- 272 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * If we don't have sigaction, we fake it using signal.
 */
#if	! defined(HAVE_SIGACTION)

struct	sigaction {
	void	(*sa_handler)();
	int	sa_mask;
	int	sa_flags;
};

#define	sigaction(sig, act, oact)	signal((sig), (act)->sa_handler)
#define	sigemptyset(ign)		0

#endif