Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

ne_buffer_create, ne_buffer_ncreate - create a string buffer

Description

ne_buffer_create creates a new buffer object, with an implementation-defined initial size.
       ne_buffer_ncreate creates an ne_buffer where the minimum initial size is given in the size parameter. The
       buffer created will contain the empty string ("").

Name

       ne_buffer_create, ne_buffer_ncreate - create a string buffer

Return Value

       Both functions return a pointer to a new buffer object, and never NULL.

See Also

       ne_buffer

Synopsis

#include<ne_alloc.h>ne_buffer*ne_buffer_create(void);ne_buffer*ne_buffer_ncreate(size_tsize);

See Also