Ubuntu – Kill syscall not working correctly on ArchLinux machine
I'm trying to use the signaling mechanism of UNIX to do some processing. To test out this functionality, I wrote the following code: #include <stdio.h> #include <signal.h> #include <stdlib.h> #include <unistd.h> #include <sys/wait.h> void handler(int sig) { printf("Received %d signal…