summaryrefslogtreecommitdiff
path: root/win32/console.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2019-02-08 18:10:31 -0800
committerAnatol Belski <ab@php.net>2019-02-08 18:10:31 -0800
commit12bfd9a5f58c12b8f63011c130ec3bf6605ea33b (patch)
treedc907993e27cad70d20e016fbe78a390ad53735a /win32/console.h
parente1dd8cd678e72475fe28f450657fb81665beaccc (diff)
downloadphp-git-12bfd9a5f58c12b8f63011c130ec3bf6605ea33b.tar.gz
Implement FR #77377 handle CTRL+C in Windows
Diffstat (limited to 'win32/console.h')
-rw-r--r--win32/console.h3
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