/usr/include/diet/skalibs/sig.h is in skalibs-dev 0.47-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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | /* Public domain. */
#ifndef SIG_H
#define SIG_H
#include "gccattributes.h"
extern int sig_alarm gccattr_deprecated ;
extern int sig_child gccattr_deprecated ;
extern int sig_stop gccattr_deprecated ;
extern int sig_cont gccattr_deprecated ;
extern int sig_hangup gccattr_deprecated ;
extern int sig_int gccattr_deprecated ;
extern int sig_kill gccattr_deprecated ;
extern int sig_pipe gccattr_deprecated ;
extern int sig_term gccattr_deprecated ;
extern int sig_usr1 gccattr_deprecated ;
extern int sig_usr2 gccattr_deprecated ;
extern int sig_quit gccattr_deprecated ;
extern int sig_abort gccattr_deprecated ;
typedef void skasighandler_t (int) ;
typedef skasighandler_t *skasighandler_t_ref ;
struct skasigaction
{
skasighandler_t_ref handler ;
unsigned char flags ;
} ;
#define SKASA_MASKALL 0x01
#define SKASA_NOCLDSTOP 0x02
extern struct skasigaction const SKASIG_DFL ;
extern struct skasigaction const SKASIG_IGN ;
extern int skasigaction (int, struct skasigaction const *, struct skasigaction *) ;
extern int sig_catcha (int, struct skasigaction const *) ;
extern int sig_restore (int) ;
extern int sig_catch (int, skasighandler_t_ref) ;
#define sig_ignore(s) sig_catcha((s), &SKASIG_IGN)
#define sig_uncatch sig_restore
#define SIGSTACKSIZE 16
extern int sig_pusha (int, struct skasigaction const *) ;
extern int sig_pop (int) ;
extern int sig_push (int, skasighandler_t_ref) ;
extern void sig_block (int) ;
extern void sig_unblock (int) ;
extern void sig_blocknone (void) ;
extern void sig_pause (void) ;
extern void sig_shield (void) ;
extern void sig_unshield (void) ;
#endif
|