3 subfd \- standard input, output, error for substdio
7 substdio *\fBsubfdin\fP;
9 substdio *\fBsubfdout\fP;
11 substdio *\fBsubfderr\fP;
13 int \fBsubfd_read\fP(\fIfd\fR,\fIbuf\fR,\fIlen\fR);
15 substdio *\fBsubfdinsmall\fP;
17 substdio *\fBsubfdoutsmall\fP;
19 int \fBsubfd_readsmall\fP(\fIfd\fR,\fIbuf\fR,\fIlen\fR);
28 writes data to descriptor 2.
31 writes data to descriptor 1.
34 reads data from descriptor 0.
39 before refilling its buffer.
40 This eliminates the need for
42 flushing in most programs.
43 To set up the same flushing mechanism for another input descriptor,
53 behave the same way as
58 except that they use small (256-byte) buffers.
59 This is appropriate for programs that read data in small chunks.