Is it possible to terminate a child process without waiting for it to finish using the wait() function? For example, how to complete this child process:
pid_t pid; switch(pid=fork()) { case 0: for(;;){} default: //здесь код, который завершает дочерний процесс return 0; PS If you know some adequate, not very tricky material on fork() where you can learn theoretical knowledge, then send me, pzhl.