1NE_BUFFER_CREATE(3)           neon API reference           NE_BUFFER_CREATE(3)
2
3
4

NAME

6       ne_buffer_create, ne_buffer_ncreate - general purpose of group of
7       functions
8

SYNOPSIS

10       #include <ne_alloc.h>
11
12       ne_buffer *ne_buffer_create(void);
13
14       ne_buffer *ne_buffer_ncreate(size_t size);
15

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

26       ne_buffer
27

AUTHOR

29       Joe Orton <neon@lists.manyfish.co.uk>
30           Author.
31
33neon 0.29.3                     11 January 2010            NE_BUFFER_CREATE(3)
Impressum