| 54 |
|
attached to the standard output of the child, and subsequent writes |
| 55 |
|
to that descriptor in the parent send data to the standard input |
| 56 |
|
of the child. The returned r descriptor is set to -1, since |
| 57 |
< |
there is no output to read from any longer in the child. The |
| 57 |
> |
there is no longer any output to read from the child. The |
| 58 |
|
default w descriptor of 1 will cause the child to act as a filter |
| 59 |
|
on the output of the parent. Make sure to call fflush(stdout) first |
| 60 |
|
if any data was buffered. It is illegal to set both PF_FILT_INP and |