1234567891011121314151617 |
- #define _CRT_SECURE_NO_WARNINGS
- #include <stdio.h>
- #include <malloc.h>
- #include <stdlib.h>
- #include <string.h>
- #include <math.h>
- #include <signal.h>
- #include <unistd.h>
- int main() {
- __pid_t target_pid;
- printf("\nВведите pid процесcора\n");
- scanf("%d", &target_pid);
- kill(target_pid, SIGINT);
-
- return 0;
- }
|