PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
signal.h File Reference
#include <stdatomic.h>
#include "_internal/config.h"
Include dependency graph for signal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define SIGABRT   1
 
#define SIGFPE   2
 
#define SIGILL   3
 
#define SIGINT   4
 
#define SIGSEGV   5
 
#define SIGTERM   6
 
#define SIGMAX   32
 
#define SIG_DFL   ((void (*)(int))0)
 
#define SIG_ERR   ((void (*)(int)) - 1)
 
#define SIG_IGN   ((void (*)(int))1)
 

Typedefs

typedef void(* sighandler_t) (int)
 

Functions

typedef _Atomic (int) sig_atomic_t
 
_PUBLIC sighandler_t signal (int sig, sighandler_t func)
 
_PUBLIC int raise (int sig)