1buffer_feed(3) Library Functions Manual buffer_feed(3)
2
3
4
6 buffer_feed - low-level component of buffer_get
7
9 #include <buffer.h>
10
11 int buffer_feed(buffer* b);
12
14 If the string is nonempty, buffer_feed returns the length of the
15 string. If the string is empty, buffer_feed uses the read operation to
16 feed data into the string; it then returns the new length of the
17 string, or 0 for end of input, or -1 for error.
18
20 buffer_init(3), buffer_get(3), buffer_peek(3), buffer_feed(3), buf‐
21 fer(3)
22
23
24
25 buffer_feed(3)