aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-03-27 14:29:09 +0100
committerRon Yorston <rmy@pobox.com>2018-03-27 14:29:09 +0100
commitbfffcaeec7c726166e87c801b4a60e3adf88dfd4 (patch)
tree06fc5a922d1c573dedf5f839d337863a96cfb4bc /include
parentb7555409f60b9506cc3edb9fa3224dc051c027c6 (diff)
downloadbusybox-w32-bfffcaeec7c726166e87c801b4a60e3adf88dfd4.tar.gz
busybox-w32-bfffcaeec7c726166e87c801b4a60e3adf88dfd4.tar.bz2
busybox-w32-bfffcaeec7c726166e87c801b4a60e3adf88dfd4.zip
win32: changes to kill(2)
The names of the callbacks to kill processes with a given signal were confusing because they referred to the implementation rather than the intent. Create the new function kill_SIGTERM_by_handle which is more efficient when a handle to the process to be killed is already available.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h
index bc0772574..2dba6c402 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -438,6 +438,8 @@ const char * next_path_sep(const char *path);
438#define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':') 438#define has_dos_drive_prefix(path) (isalpha(*(path)) && (path)[1] == ':')
439#define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path)) 439#define is_absolute_path(path) ((path)[0] == '/' || (path)[0] == '\\' || has_dos_drive_prefix(path))
440 440
441int kill_SIGTERM_by_handle(HANDLE process, int exit_code);
442
441#define find_mount_point(n, s) find_mount_point(n) 443#define find_mount_point(n, s) find_mount_point(n)
442 444
443/* 445/*