Lines Matching defs:signal
249 # include <signal.h>
1536 "signal number %ld out of range [1; %i]",
1548 * `range(1, NSIG)` but warn about invalid signal numbers
1551 "invalid signal number %ld, please use valid_signals()";
8051 signal: Py_ssize_t
8054 Kill a process with a signal.
8058 os_kill_impl(PyObject *module, pid_t pid, Py_ssize_t signal)
8061 if (PySys_Audit("os.kill", "in", pid, signal) < 0) {
8065 if (kill(pid, (int)signal) == -1) {
8069 // Check immediately if the signal was sent to the current process.
8079 DWORD sig = (DWORD)signal;
8094 /* If the signal is outside of what GenerateConsoleCtrlEvent can use,
8122 signal: int
8125 Kill a process group with a signal.
8129 os_killpg_impl(PyObject *module, pid_t pgid, int signal)
8132 if (PySys_Audit("os.killpg", "ii", pgid, signal) < 0) {
8139 if (killpg(pgid, signal) == -1)
11313 Return True if the process returning status was terminated by a signal.
11373 Return the signal that terminated the process that provided the status value.
11393 Return the signal that stopped the process that provided the status value.
14661 /* getrandom() was interrupted by a signal: retry */
14860 "process stopped by delivery of signal %i",
15240 /* Send a SIGIO signal whenever input or output