Skip to content

Commit

Permalink
Fix: Regenerate files
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Jan 3, 2020
1 parent 3d226da commit a075ef2
Show file tree
Hide file tree
Showing 3 changed files with 1,133 additions and 1,109 deletions.
1 change: 1 addition & 0 deletions generated/functionsList.php
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,7 @@
'highlight_string',
'sapi_windows_cp_conv',
'sapi_windows_cp_set',
'sapi_windows_generate_ctrl_event',
'sapi_windows_vt100_support',
'sleep',
'time_nanosleep',
Expand Down
21 changes: 21 additions & 0 deletions generated/misc.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,27 @@ function sapi_windows_cp_set(int $cp): void
}


/**
* Sends a CTRL event to another process in the same process group.
*
* @param int $event The CTRL even to send;
* either PHP_WINDOWS_EVENT_CTRL_C
* or PHP_WINDOWS_EVENT_CTRL_BREAK.
* @param int $pid The ID of the process to which to send the event to. If 0
* is given, the event is sent to all processes of the process group.
* @throws MiscException
*
*/
function sapi_windows_generate_ctrl_event(int $event, int $pid = 0): void
{
error_clear_last();
$result = \sapi_windows_generate_ctrl_event($event, $pid);
if ($result === false) {
throw MiscException::createFromPhpError();
}
}


/**
* If enable is omitted, the function returns TRUE if the stream stream has VT100 control codes enabled, FALSE otherwise.
*
Expand Down
Loading

0 comments on commit a075ef2

Please sign in to comment.