![]() |
![]()
| ![]() |
![]()
NAMEbuffer_init - initialize buffer structure SYNTAX#include <libowfat/buffer.h> void buffer_init(buffer &b,
DESCRIPTIONbuffer_init prepares b to store a string in y[0], y[1], ..., y[ylen-1]. Initially the string is empty. buffer_init also prepares b to use the read/write operation specified by op and fd. You can use
to initialize b statically if op, fd, y, and ylen are compile-time constants. You can call buffer_init again at any time. Note that this discards the currently buffered string. EXAMPLE #include <libowfat/buffer.h>
SEE ALSObuffer_flush(3), buffer(3)
|