buffer_feed(3)

buffer_feed3

Low-level component of buffer_get

Usage

#include <libowfat/buffer.h>

int buffer_feed(buffer* b);

Overview

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.

Releases

7 releases since Debian 7 (Wheezy); the text changed 1 time.

  1. 7–11
  2. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.