read_with_timeout
int read_with_timeout(int fd, char *buf, size_t count, long usec);
err = read_with_timeout(pipe_c2p[0], buf, 1, 100);