Zephyr API Documentation  3.6.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
signal.h File Reference
#include "posix_types.h"

Go to the source code of this file.

Data Structures

struct  sigset_t
 
union  sigval
 
struct  sigevent
 

Macros

#define SIGHUP   1
 Hangup.
 
#define SIGINT   2
 Interrupt.
 
#define SIGQUIT   3
 Quit.
 
#define SIGILL   4
 Illegal instruction.
 
#define SIGTRAP   5
 Trace/breakpoint trap.
 
#define SIGABRT   6
 Aborted.
 
#define SIGBUS   7
 Bus error.
 
#define SIGFPE   8
 Arithmetic exception.
 
#define SIGKILL   9
 Killed.
 
#define SIGUSR1   10
 User-defined signal 1.
 
#define SIGSEGV   11
 Invalid memory reference.
 
#define SIGUSR2   12
 User-defined signal 2.
 
#define SIGPIPE   13
 Broken pipe.
 
#define SIGALRM   14
 Alarm clock.
 
#define SIGTERM   15
 Terminated.
 
#define SIGCHLD   17
 Child status changed.
 
#define SIGCONT   18
 Continued.
 
#define SIGSTOP   19
 Stop executing.
 
#define SIGTSTP   20
 Stopped.
 
#define SIGTTIN   21
 Stopped (read)
 
#define SIGTTOU   22
 Stopped (write)
 
#define SIGURG   23
 Urgent I/O condition.
 
#define SIGXCPU   24
 CPU time limit exceeded.
 
#define SIGXFSZ   25
 File size limit exceeded.
 
#define SIGVTALRM   26
 Virtual timer expired.
 
#define SIGPROF   27
 Profiling timer expired.
 
#define SIGPOLL   29
 Pollable event occurred.
 
#define SIGSYS   31
 Bad system call.
 
#define RTSIG_MAX   CONFIG_POSIX_RTSIG_MAX
 
#define SIGRTMIN   32
 
#define SIGRTMAX   (SIGRTMIN + RTSIG_MAX)
 
#define SIGEV_NONE   1
 
#define SIGEV_SIGNAL   2
 
#define SIGEV_THREAD   3
 
#define SIG_BLOCK   0
 
#define SIG_SETMASK   1
 
#define SIG_UNBLOCK   2
 

Typedefs

typedef int sig_atomic_t
 

Macro Definition Documentation

◆ RTSIG_MAX

#define RTSIG_MAX   CONFIG_POSIX_RTSIG_MAX

◆ SIG_BLOCK

#define SIG_BLOCK   0

◆ SIG_SETMASK

#define SIG_SETMASK   1

◆ SIG_UNBLOCK

#define SIG_UNBLOCK   2

◆ SIGABRT

#define SIGABRT   6

Aborted.

◆ SIGALRM

#define SIGALRM   14

Alarm clock.

◆ SIGBUS

#define SIGBUS   7

Bus error.

◆ SIGCHLD

#define SIGCHLD   17

Child status changed.

◆ SIGCONT

#define SIGCONT   18

Continued.

◆ SIGEV_NONE

#define SIGEV_NONE   1

◆ SIGEV_SIGNAL

#define SIGEV_SIGNAL   2

◆ SIGEV_THREAD

#define SIGEV_THREAD   3

◆ SIGFPE

#define SIGFPE   8

Arithmetic exception.

◆ SIGHUP

#define SIGHUP   1

Hangup.

◆ SIGILL

#define SIGILL   4

Illegal instruction.

◆ SIGINT

#define SIGINT   2

Interrupt.

◆ SIGKILL

#define SIGKILL   9

Killed.

◆ SIGPIPE

#define SIGPIPE   13

Broken pipe.

◆ SIGPOLL

#define SIGPOLL   29

Pollable event occurred.

◆ SIGPROF

#define SIGPROF   27

Profiling timer expired.

◆ SIGQUIT

#define SIGQUIT   3

Quit.

◆ SIGRTMAX

#define SIGRTMAX   (SIGRTMIN + RTSIG_MAX)

◆ SIGRTMIN

#define SIGRTMIN   32

◆ SIGSEGV

#define SIGSEGV   11

Invalid memory reference.

◆ SIGSTOP

#define SIGSTOP   19

Stop executing.

◆ SIGSYS

#define SIGSYS   31

Bad system call.

◆ SIGTERM

#define SIGTERM   15

Terminated.

◆ SIGTRAP

#define SIGTRAP   5

Trace/breakpoint trap.

◆ SIGTSTP

#define SIGTSTP   20

Stopped.

◆ SIGTTIN

#define SIGTTIN   21

Stopped (read)

◆ SIGTTOU

#define SIGTTOU   22

Stopped (write)

◆ SIGURG

#define SIGURG   23

Urgent I/O condition.

◆ SIGUSR1

#define SIGUSR1   10

User-defined signal 1.

◆ SIGUSR2

#define SIGUSR2   12

User-defined signal 2.

◆ SIGVTALRM

#define SIGVTALRM   26

Virtual timer expired.

◆ SIGXCPU

#define SIGXCPU   24

CPU time limit exceeded.

◆ SIGXFSZ

#define SIGXFSZ   25

File size limit exceeded.

Typedef Documentation

◆ sig_atomic_t

typedef int sig_atomic_t