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

NAME

6       ne_buffer_create, ne_buffer_ncreate - create a string buffer
7

SYNOPSIS

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

DESCRIPTION

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

RETURN VALUE

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

SEE ALSO

25       ne_buffer
26

AUTHOR

28       Joe Orton <neon@lists.manyfish.co.uk>
29           Author.
30
32neon 0.29.5                     14 October 2010            NE_BUFFER_CREATE(3)
Impressum