This file is indexed.

/usr/include/bglibs/unix/sig.h is in libbg1-dev 1.106-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef UNIX__SIG__H__
#define UNIX__SIG__H__

typedef void (*signalfn)(int);

void sig_block(int sig);
void sig_unblock(int sig);
void sig_suspend(void);
void sig_catch(int sig, signalfn fn);
void sig_default(int sig);
void sig_ignore(int sig);

void sig_misc_ignore(void);
void sig_bug_catch(signalfn fn);

#define SIG_FUNCTION_DECL(NAME) \
extern void sig_##NAME##_block(void); \
extern void sig_##NAME##_unblock(void); \
extern void sig_##NAME##_catch(signalfn fn); \
extern void sig_##NAME##_default(void)

SIG_FUNCTION_DECL(alarm);
SIG_FUNCTION_DECL(child);
SIG_FUNCTION_DECL(hup);
SIG_FUNCTION_DECL(int);
SIG_FUNCTION_DECL(pipe);
SIG_FUNCTION_DECL(quit);
SIG_FUNCTION_DECL(term);

SIG_FUNCTION_DECL(all);

#undef SIG_FUNCTION_DECL

#define SIG_FUNCTION_MAKE(NAME,SIG) \
extern void sig_##NAME##_block(void) { sig_block(SIG); } \
extern void sig_##NAME##_unblock(void) { sig_unblock(SIG); } \
extern void sig_##NAME##_catch(signalfn fn) { sig_catch(SIG, fn); } \
extern void sig_##NAME##_default(void) { sig_default(SIG); } \

#endif