Skip to main content Link Menu Expand (external link) Document Search Copy Copied

This is automatic generated document for things in Swow\Signal class

Class Signal

Constants

public ABRT = 6

This constant holds SIGABRT value, it’s platform-dependent.

At macOS platform, this constant means “abort()” At Windows platform, this constant may have a value 22 means “abnormal termination triggered by abort call”

public ALRM = 14

This constant holds SIGALRM value, it’s platform-dependent.

At macOS platform, this constant means “alarm clock” At Windows platform, this constant may not exist

public BREAK = 21

This constant holds SIGBREAK value, it’s platform-dependent.

At Windows platform, this constant means “Ctrl-Break sequence” At Linux and macOS platforms, this constant may not exist

public BUS = 7

This constant holds SIGBUS value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 10 At macOS platform, this constant may have a value 10 means “bus error” At Windows platform, this constant may not exist

public CHLD = 17

This constant holds SIGCHLD value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 18 At macOS platform, this constant may have a value 20 means “to parent on child stop or exit” At Windows platform, this constant may not exist

public CONT = 18

This constant holds SIGCONT value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 25 At macOS platform, this constant may have a value 19 means “continue a stopped process” At Windows platform, this constant may not exist

public EMT = 7

This constant holds SIGEMT value, it’s platform-dependent.

At macOS platform, this constant means “EMT instruction” At Windows, Linux x86_64, Linux arm64 and Linux riscv64 platforms, this constant may not exist

public FPE = 8

This constant holds SIGFPE value, it’s platform-dependent.

At macOS and Windows platforms, this constant means “floating point exception”

public HUP = 1

This constant holds SIGHUP value, it’s platform-dependent.

At macOS platform, this constant means “hangup” At Windows platform, this constant may not exist

public ILL = 4

This constant holds SIGILL value, it’s platform-dependent.

At macOS platform, this constant means “illegal instruction (not reset when caught)” At Windows platform, this constant means “illegal instruction - invalid function image”

public INFO = 29

This constant holds SIGINFO value, it’s platform-dependent.

At macOS platform, this constant means “information request” At Linux and Windows platforms, this constant may not exist

public INT = 2

This constant holds SIGINT value, it’s platform-dependent.

At macOS and Windows platforms, this constant means “interrupt”

public IO = 29

This constant holds SIGIO value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 22 At macOS platform, this constant may have a value 23 means “input/output possible signal” At Windows platform, this constant may not exist

public IOT = 6

This constant holds SIGIOT value, it’s platform-dependent.

At macOS and Windows platforms, this constant may not exist

public KILL = 9

This constant holds SIGKILL value, it’s platform-dependent.

At macOS platform, this constant means “kill (cannot be caught or ignored)” At Windows platform, this constant may not exist

public LOST = 29

This constant holds SIGLOST value, it’s platform-dependent.

At macOS and Windows platforms, this constant may not exist

public PIPE = 13

This constant holds SIGPIPE value, it’s platform-dependent.

At macOS platform, this constant means “write on a pipe with no one to read it” At Windows platform, this constant may not exist

public POLL = 7

This constant holds SIGPOLL value, it’s platform-dependent.

At macOS platform, this constant means “pollable event ([XSR] generated, not supported)” At Linux and Windows platforms, this constant may not exist

public PROF = 27

This constant holds SIGPROF value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 29 At macOS platform, this constant means “profiling time alarm” At Windows platform, this constant may not exist

public PWR = 30

This constant holds SIGPWR value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 19 At macOS and Windows platforms, this constant may not exist

public QUIT = 3

This constant holds SIGQUIT value, it’s platform-dependent.

At macOS platform, this constant means “quit” At Windows platform, this constant may not exist

public SEGV = 11

This constant holds SIGSEGV value, it’s platform-dependent.

At macOS platform, this constant means “segmentation violation” At Windows platform, this constant means “segment violation”

public STKFLT = 16

This constant holds SIGSTKFLT value, it’s platform-dependent.

At macOS and Windows platforms, this constant may not exist

public STOP = 19

This constant holds SIGSTOP value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 23 At macOS platform, this constant may have a value 17 means “sendable stop signal not from tty” At Windows platform, this constant may not exist

public SYS = 31

This constant holds SIGSYS value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 12 At macOS platform, this constant may have a value 12 means “bad argument to system call” At Windows platform, this constant may not exist

public TERM = 15

This constant holds SIGTERM value, it’s platform-dependent.

At macOS platform, this constant means “software termination signal from kill” At Windows platform, this constant means “Software termination signal from kill”

public TRAP = 5

This constant holds SIGTRAP value, it’s platform-dependent.

At macOS platform, this constant means “trace trap (not reset when caught)” At Windows platform, this constant may not exist

public TSTP = 20

This constant holds SIGTSTP value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 24 At macOS platform, this constant may have a value 18 means “stop signal from tty” At Windows platform, this constant may not exist

public TTIN = 21

This constant holds SIGTTIN value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 26 At macOS platform, this constant means “to readers pgrp upon background tty read” At Windows platform, this constant may not exist

public TTOU = 22

This constant holds SIGTTOU value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 27 At macOS platform, this constant means “like TTIN for output if (tp->t_local&LTOSTOP)” At Windows platform, this constant may not exist

public URG = 23

This constant holds SIGURG value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 21 At macOS platform, this constant may have a value 16 means “urgent condition on IO channel” At Windows platform, this constant may not exist

public USR1 = 10

This constant holds SIGUSR1 value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 16 At macOS platform, this constant may have a value 30 means “user defined signal 1” At Windows platform, this constant may not exist

public USR2 = 12

This constant holds SIGUSR2 value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 17 At macOS platform, this constant may have a value 31 means “user defined signal 2” At Windows platform, this constant may not exist

public VTALRM = 26

This constant holds SIGVTALRM value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 28 At macOS platform, this constant means “virtual time alarm” At Windows platform, this constant may not exist

public WINCH = 28

This constant holds SIGWINCH value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 20 At macOS platform, this constant means “window size changes” At Windows platform, this constant may not exist

public XCPU = 24

This constant holds SIGXCPU value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 30 At macOS platform, this constant means “exceeded CPU time limit” At Windows platform, this constant may not exist

public XFSZ = 25

This constant holds SIGXFSZ value, it’s platform-dependent.

At Linux mips64 platform, this constant may have a value 31 At macOS platform, this constant means “exceeded file size limit” At Windows platform, this constant may not exist

Methods

Static method kill

public static function kill ( int $pid , int $signal ) : void

Static method wait

public static function wait ( int $signal , int $timeout ) : void

Copyright 2022 the Swow contributors