3 substdio_out \- substdio output routines
5 .B #include <substdio.h>
7 int \fBsubstdio_put\fP(&\fIs\fR,\fIfrom\fR,\fIlen\fR);
9 int \fBsubstdio_puts\fP(&\fIs\fR,\fIfrom\fR);
11 int \fBsubstdio_bput\fP(&\fIs\fR,\fIfrom\fR,\fIlen\fR);
13 int \fBsubstdio_bputs\fP(&\fIs\fR,\fIfrom\fR);
15 int \fBsubstdio_flush\fP(&\fIs\fR);
17 int \fBsubstdio_putflush\fP(&\fIs\fR,\fIfrom\fR,\fIlen\fR);
19 int \fBsubstdio_putsflush\fP(&\fIs\fR,\fIfrom\fR);
32 out of the character array
34 It returns 0 on success, -1 on error.
37 has the same function as
39 The difference is how the buffer is flushed
40 when there isn't enough room for
44 flushes the buffered data before copying the new data,
47 fills the buffer with new data before flushing.
50 forces all data to be written from the internal buffer.
51 It returns 0 on success, -1 on error.
58 but it avoids all internal copies.
71 must be a 0-terminated string of characters.
72 The string, not including the 0, is written.
76 macro is defined as a reasonably large output buffer size for
89 there is free buffer space from
96 the total buffer length is