Module bash

Source
Expand description

Constants§

INVALID_EXIT
Usually indicates that the command was not found by the shell, or that the command is found but that a library it requires is not found.
NOT_EXECUTABLE
Command was found but is not executable by the shell.
NOT_FOUND
Usually indicates that the command was not found by the shell, or that the command is found but that a library it requires is not found.
SIGABRT
The SIGABRT signal is sent to a process by its controlling terminal when process abort signal
SIGALRM
The SIGALRM signal is sent to a process when the time limit specified in a call to a preceding alarm setting function (such as setitimer) elapses.
SIGFPE
The SIGFPE signal is sent to a process by its controlling terminal when there is an erroneous arithmetic operation
SIGHUP
The SIGHUP signal is sent to a process when its controlling terminal is closed.
SIGILL
The SIGILL signal is sent to a process by its controlling terminal when an illegal instruction is encountered
SIGINT
The SIGINT signal is sent to a process by its controlling terminal when a user wishes to interrupt the process.
SIGKILL
The SIGKILL signal is sent to a process to cause it to terminate immediately. In contrast to SIGTERM and SIGINT, this signal cannot be caught or ignored, and the receiving process cannot perform any clean-up upon receiving this signal.
SIGPIPE
The SIGPIPE signal is sent to a process when it attempts to write to a pipe without a process connected to the other end.
SIGQUIT
The SIGQUIT signal is sent to a process by its controlling terminal when a user quit from keyboard (Ctrl-. or, Ctrl-4 or, on the virtual console, the SysRq key)
SIGSEGV
The SIGSEGV signal is sent to a process on invalid memory reference
SIGTERM
The SIGTERM signal is sent to a process to request its termination. Unlike the SIGKILL signal, it can be caught and interpreted or ignored by the process.
SIGTRAP
The SIGTRAP signal is sent to a process by its controlling terminal when there is a trace/breakpoint trap
STATUS_OUT_OF_RANGE
Exit status out of range
USAGE
Command line usage error

Functions§

io_to_signal
Convert std::io::ErrorKind to a Code