Searched refs:evt (Results 1 – 2 of 2) sorted by relevance
/PHP-8.1/win32/ |
H A D | signal.c | 74 static BOOL WINAPI php_win32_signal_system_ctrl_handler(DWORD evt) in php_win32_signal_system_ctrl_handler() argument 76 if (CTRL_C_EVENT != evt && CTRL_BREAK_EVENT != evt) { in php_win32_signal_system_ctrl_handler() 82 ctrl_evt = evt; in php_win32_signal_system_ctrl_handler() 136 zend_long evt, pid = 0; in PHP_FUNCTION() local 139 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l|l", &evt, &pid) == FAILURE) { in PHP_FUNCTION() 150 ret = (GenerateConsoleCtrlEvent(evt, pid) != 0); in PHP_FUNCTION()
|
/PHP-8.1/sapi/cli/tests/ |
H A D | sapi_windows_set_ctrl_handler.phpt | 18 function handler($evt) 44 $evt = PHP_WINDOWS_EVENT_CTRL_C; 45 echo "Sending ", get_evt_name($evt), " to child $child_pid\n"; 46 $ret = sapi_windows_generate_ctrl_event($evt, $child_pid); 48 …echo ($ret ? "Successfully" : "Unsuccessfuly"), " sent ", get_evt_name($evt), " to child $child_pi… 68 function get_evt_name(int $evt) : ?string 70 if (PHP_WINDOWS_EVENT_CTRL_C == $evt) { 72 } if (PHP_WINDOWS_EVENT_CTRL_BREAK == $evt) {
|
Completed in 7 milliseconds