Type Alias ctrlc::Signal

source ·
pub type Signal = Signal;
Expand description

Platform specific signal type

Aliased Type§

enum Signal {
Show 31 variants SIGHUP, SIGINT, SIGQUIT, SIGILL, SIGTRAP, SIGABRT, SIGBUS, SIGFPE, SIGKILL, SIGUSR1, SIGSEGV, SIGUSR2, SIGPIPE, SIGALRM, SIGTERM, SIGSTKFLT, SIGCHLD, SIGCONT, SIGSTOP, SIGTSTP, SIGTTIN, SIGTTOU, SIGURG, SIGXCPU, SIGXFSZ, SIGVTALRM, SIGPROF, SIGWINCH, SIGIO, SIGPWR, SIGSYS,
}

Variants§

§

SIGHUP

Hangup

§

SIGINT

Interrupt

§

SIGQUIT

Quit

§

SIGILL

Illegal instruction (not reset when caught)

§

SIGTRAP

Trace trap (not reset when caught)

§

SIGABRT

Abort

§

SIGBUS

Bus error

§

SIGFPE

Floating point exception

§

SIGKILL

Kill (cannot be caught or ignored)

§

SIGUSR1

User defined signal 1

§

SIGSEGV

Segmentation violation

§

SIGUSR2

User defined signal 2

§

SIGPIPE

Write on a pipe with no one to read it

§

SIGALRM

Alarm clock

§

SIGTERM

Software termination signal from kill

§

SIGSTKFLT

Stack fault (obsolete)

§

SIGCHLD

To parent on child stop or exit

§

SIGCONT

Continue a stopped process

§

SIGSTOP

Sendable stop signal not from tty

§

SIGTSTP

Stop signal from tty

§

SIGTTIN

To readers pgrp upon background tty read

§

SIGTTOU

Like TTIN if (tp->t_local&LTOSTOP)

§

SIGURG

Urgent condition on IO channel

§

SIGXCPU

Exceeded CPU time limit

§

SIGXFSZ

Exceeded file size limit

§

SIGVTALRM

Virtual time alarm

§

SIGPROF

Profiling time alarm

§

SIGWINCH

Window size changes

§

SIGIO

Input/output possible signal

§

SIGPWR

Power failure imminent.

§

SIGSYS

Bad system call