Lines Matching defs:pipe
130 static int reader_process (Mustek_pp_Handle * hndl, int pipe);
162 * closes the pipe (read-only end)
167 if (hndl->pipe >= 0) {
169 close (hndl->pipe);
170 hndl->pipe = -1;
247 reader_process (Mustek_pp_Handle * hndl, int pipe)
264 if (!(fp = fdopen(pipe, "w")))
1143 hndl->pipe = -1;
1704 if (pipe(pipeline) < 0) {
1705 DBG (1, "sane_start: could not initialize pipe (%s)\n",
1732 hndl->pipe = pipeline[0];
1772 nread = read(hndl->pipe, buf + *len, max_len - *len);
1878 if (fcntl (hndl->pipe, F_SETFL, non_blocking ? O_NONBLOCK : 0) < 0) {
1905 *fd = hndl->pipe;