blob: 994c179125e3c08fcb7647e932aaffec01283376 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* ISC license. */
/* MT-unsafe */
#ifndef SELFPIPE_INTERNAL_H
#define SELFPIPE_INTERNAL_H
#include <signal.h>
#include <skalibs/sysdeps.h>
extern sigset_t selfpipe_caught ;
#ifdef SKALIBS_HASSIGNALFD
extern int selfpipe_fd ;
#else
#include <skalibs/sig.h>
extern int selfpipe[2] ;
#define selfpipe_fd selfpipe[0]
extern struct skasigaction const selfpipe_ssa ;
#endif
#endif
|