ec_growbuf_io_cur_chunk

March 26, 2020 Contributors

Name

ec_growbuf_io_cur_chunk — Return a pointer to the current growbuf chunk and its length

Synopsis

#include "ec_growbuf.h"

| int **ec_growbuf_io_cur_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 current growbuf chunk and its length.

Parameters

io

the io_object corresponding to the growbuf string

outbuf

filled in with a pointer to the current chunk or NULL if there is none

Return Values

Returns the length of the current chunk