diff options
author | Anatol Belski <ab@php.net> | 2019-02-08 18:10:31 -0800 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2019-02-08 18:10:31 -0800 |
commit | 12bfd9a5f58c12b8f63011c130ec3bf6605ea33b (patch) | |
tree | dc907993e27cad70d20e016fbe78a390ad53735a /win32/console.h | |
parent | e1dd8cd678e72475fe28f450657fb81665beaccc (diff) | |
download | php-git-12bfd9a5f58c12b8f63011c130ec3bf6605ea33b.tar.gz |
Implement FR #77377 handle CTRL+C in Windows
Diffstat (limited to 'win32/console.h')
-rw-r--r-- | win32/console.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/console.h b/win32/console.h index 5e50eef8b1..2d36d85508 100644 --- a/win32/console.h +++ b/win32/console.h @@ -59,4 +59,7 @@ PHP_WINUTIL_API BOOL php_win32_console_fileno_set_vt100(zend_long fileno, BOOL e http://support.microsoft.com/kb/99115 */ PHP_WINUTIL_API BOOL php_win32_console_is_own(void); +/* Check whether the current SAPI is run on console. */ +PHP_WINUTIL_API BOOL php_win32_console_is_cli_sapi(void); + #endif |