logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

buffer_feed - low-level component of buffer_get

Description

       If  the  string  is  nonempty,  buffer_feed  returns  the  length of the string.  If the string is empty,
       buffer_feed uses the read operation to feed data into the string; it then returns the new length  of  the
       string, or 0 for end of input, or -1 for error.

Name

       buffer_feed - low-level component of buffer_get

See Also

buffer_init(3), buffer_get(3), buffer_peek(3), buffer_feed(3), buffer(3)

                                                                                                  buffer_feed(3)

Syntax

#include<libowfat/buffer.h>

       int buffer_feed(buffer* b);

See Also