ec_growbuf_io_open

March 26, 2020 Contributors

Name

ec_growbuf_io_open — Allocate and initialize an io_object for a new growbuf-backed string

Synopsis

#include "ec_growbuf.h"

| io_object * **ec_growbuf_io_open** ( | size); |   |

size_t <var class="pdparam">size</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.

Allocate and initialize an io_object for a new growbuf-backed string.

Parameters

size

the size of the initial buffer to allocate (including the terminating NUL) or 0 to use the growbuf_size configuration value

Return Values

Returns the new io_object on success or NULL on failute