MCPcopy Create free account
hub / github.com/Kitware/CMake / uv_process_kill

Function uv_process_kill

Utilities/cmlibuv/src/win/process.c:1326–1341  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1324
1325
1326int uv_process_kill(uv_process_t* process, int signum) {
1327 int err;
1328
1329 if (process->process_handle == INVALID_HANDLE_VALUE) {
1330 return UV_EINVAL;
1331 }
1332
1333 err = uv__kill(process->process_handle, signum);
1334 if (err) {
1335 return err; /* err is already translated. */
1336 }
1337
1338 process->exit_signal = signum;
1339
1340 return 0;
1341}
1342
1343
1344int uv_kill(int pid, int signum) {

Callers 1

OnTimeoutMethod · 0.50

Calls 1

uv__killFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…