source: CIVL/include/headers/signal.h@ 1aaefd4

main test-branch
Last change on this file since 1aaefd4 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 563 bytes
Line 
1/* The header signal.h declares a type and two functions and defines several macros,
2 * for handling various signals (conditions that may be reported during program execution).
3 */
4#ifndef _SIGNAL_
5#define _SIGNAL_
6
7/* Types */
8typedef int sig_atomic_t;
9
10/* Macros */
11#define SIG_DFL (void (*)())0
12#define SIG_ERR (void (*)())-1
13#define SIG_IGN (void (*)())1
14
15#define SIGABRT 2
16#define SIGFPE 3
17#define SIGILL 4
18#define SIGINT 5
19#define SIGSEGV 6
20#define SIGTERM 7
21
22/* Functions */
23int raise(int sig);
24void (*signal(int sig, void (*func)(int)))(int);
25
26#endif
Note: See TracBrowser for help on using the repository browser.