SIGTSTP (20)SIGTSTP (20) — Terminal Stop Signal
A stop signal from the terminal, typically Ctrl+Z. Unlike SIGSTOP, this can be caught.
ECHILDThe calling process has no existing child processes to wait for.
A call to wait() or waitpid() was made but there are no child processes to reap. This can occur when SIGCHLD is set to SIG_IGN, when another thread already reaped the child, or when the process never forked.
Check that fork() was called successfully before calling wait(). Avoid calling wait() multiple times for the same child. If using SIGCHLD handlers, ensure they do not conflict with explicit wait() calls.
SIGTSTP (20)A stop signal from the terminal, typically Ctrl+Z. Unlike SIGSTOP, this can be caught.
ENOTBLKA non-block device was specified where a block device is required.
SIGTTIN (21)A background process attempted to read from its controlling terminal.
SIGTRAP (5)A breakpoint or trace trap was triggered, typically during debugging.
ENOTRECOVERABLEThe mutex state cannot be recovered after a previous owner died without unlocking it.
EBADFA file descriptor argument is not a valid open file descriptor or is not open for the requested operation.