blob: dcde350365ed520ed6980451f613258f72725a63 (
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 sig_func selfpipe_tophalf ;
#endif
#endif
|