Need help with this....why cant I continue the process that I stop using the above source code? I stop my parent and I want to continue my parent again ??Code:while((readfd = read(pfd[0], buffer, sizeof(buffer))) != 0) { input = atoi(buffer); printf("Testing : %d \n", input); if(input == 1) { kill(ppid, SIGCONT); printf("Button ON \n"); } else if(input == 0) { printf("Button OFF \n"); kill(ppid, SIGSTOP); } }
Any improvements??
Thanks and regards