File: signals.h

package info (click to toggle)
rlinetd 0.6-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,988 kB
  • ctags: 466
  • sloc: sh: 8,948; ansic: 2,857; yacc: 1,453; lex: 125; makefile: 112; perl: 4
file content (20 lines) | stat: -rw-r--r-- 422 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef H_SIGNALS
#define H_SIGNALS

#include <sys/time.h>
#include <sys/types.h>
#include <unistd.h>

void rl_siginit();
void rls_block();
void rls_unblock();

#define RL_MAX(a,b) ((a) > (b) ? (a) : (b))

extern volatile int rls_need_parse;					/* SIGHUP flag */
extern volatile int rls_term_recv;					/* SIGTERM or SIGINT flag */
extern volatile struct pidtab *rls_reaped;

#endif /* !H_SIGNALS */

/* vim: set ts=2: */