NE_BUFFER_CREATE

Section: neon API reference (3)
Updated: 21 January 2023
Index Return to Main Contents
 

NAME

ne_buffer_create, ne_buffer_ncreate - create a string buffer  

SYNOPSIS

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

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 ("").  

RETURN VALUE

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

SEE ALSO

ne_buffer  

AUTHOR

Joe Orton

Author.
 

COPYRIGHT



 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
SEE ALSO
AUTHOR
COPYRIGHT

This document was created by man2html, using the manual pages.
Time: 21:30:32 GMT, March 28, 2024