I am reading/writing to a pipe created by pipe(pipe_fds). So basically with following code, I am reading from that pipe:
pipe(pipe_fds)
fp = fdopen(pipe_
IIRC, select has a timeout that you then check with FD_ISSET to tell if it was I/O or not that returned.
select
FD_ISSET