/* The read returns when the child closes the pipe (or when
* the child dies for some reason). */
close(pipefd[1]);
(void)read(pipefd[0],&dummy,(size_t)1);
ignored=(int)read(pipefd[0],&dummy,(size_t)1);
close(pipefd[0]);
}
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.