ec_growbuf_io_next_chunk

March 26, 2020 Contributors

Name

ec_growbuf_io_next_chunk — Return a pointer to the next growbuf chunk and its length

Synopsis

#include "ec_growbuf.h"

| int **ec_growbuf_io_next_chunk** ( | io, |   |
|   | outbuf); |   |

io_object * <var class="pdparam">io</var>;
char ** <var class="pdparam">outbuf</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

Return a pointer to the next growbuf chunk and its length.

Parameters

io

the io_object corresponding to the growbuf string

outbuf

filled in with a pointer to the next chunk or NULL if we are at the end

Return Values

Returns the length of the next chunk or 0 if there is no next chunk