Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
signal.h File Reference

Go to the source code of this file.

Macros

#define SIGABRT   6
#define SIGFPE   8
#define SIGILL   4
#define SIGINT   2
#define SIGSEGV   11
#define SIGTERM   15
#define SIG_DFL   ((sighandler_t)0)
#define SIG_IGN   ((sighandler_t)1)
#define SIG_ERR   ((sighandler_t)(-1))

Typedefs

typedef long sig_atomic_t
typedef void(* sighandler_t) (int sig)

Functions

sighandler_t signal (int sig, sighandler_t handler)
int raise (int sig)

Macro Definition Documentation

◆ SIG_DFL

#define SIG_DFL   ((sighandler_t)0)

◆ SIG_ERR

#define SIG_ERR   ((sighandler_t)(-1))

◆ SIG_IGN

#define SIG_IGN   ((sighandler_t)1)

◆ SIGABRT

#define SIGABRT   6

◆ SIGFPE

#define SIGFPE   8

◆ SIGILL

#define SIGILL   4

◆ SIGINT

#define SIGINT   2

◆ SIGSEGV

#define SIGSEGV   11

◆ SIGTERM

#define SIGTERM   15

Typedef Documentation

◆ sig_atomic_t

typedef long sig_atomic_t

◆ sighandler_t

typedef void(* sighandler_t) (int sig)

Function Documentation

◆ raise()

int raise ( int sig)

◆ signal()

sighandler_t signal ( int sig,
sighandler_t handler )