Skip to content

Commit cd30e91

Browse files
committed
Export the kill_process_tree() function
... for use in kill.exe. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 3687e63 commit cd30e91

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

winsup/cygwin/common.din

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ sys_errlist = _sys_errlist DATA
3333
sys_nerr = _sys_nerr DATA
3434
sys_sigabbrev DATA
3535
sys_siglist DATA
36+
kill_process_tree DATA
3637

3738
# Exported functions
3839
_Exit SIGFE

winsup/cygwin/include/cygwin/signal.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,11 +410,12 @@ int siginterrupt (int, int);
410410
#ifdef __INSIDE_CYGWIN__
411411
extern const char *sys_sigabbrev[];
412412
extern const char *sys_siglist[];
413+
extern void kill_process_tree(pid_t pid, int sig);
413414
#else
414415
extern const char __declspec(dllimport) *sys_sigabbrev[];
415416
extern const char __declspec(dllimport) *sys_siglist[];
417+
extern void __declspec(dllimport) kill_process_tree(pid_t pid, int sig);
416418
#endif
417-
void kill_process_tree(pid_t pid, int sig);
418419

419420
#ifdef __cplusplus
420421
}

winsup/cygwin/include/cygwin/version.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,12 +473,13 @@ details. */
473473
306: Export getentropy, getrandom.
474474
307: Export timingsafe_bcmp, timingsafe_memcmp.
475475
308: Export dladdr.
476+
309: Export kill_process_tree.
476477
477478
Note that we forgot to bump the api for ualarm, strtoll, strtoull,
478479
sigaltstack, sethostname. */
479480

480481
#define CYGWIN_VERSION_API_MAJOR 0
481-
#define CYGWIN_VERSION_API_MINOR 308
482+
#define CYGWIN_VERSION_API_MINOR 309
482483

483484
/* There is also a compatibity version number associated with the shared memory
484485
regions. It is incremented when incompatible changes are made to the shared

0 commit comments

Comments
 (0)