1 2 3 4 5 6 7 8 9 10
#include <signal.h> #include <unistd.h> int main(void) { if (fork() == -1) return -1; return kill(getpid(), SIGSTOP); }