1NE_BUFFER_CREATE(3) neon API reference NE_BUFFER_CREATE(3)
2
3
4
6 ne_buffer_create, ne_buffer_ncreate - general purpose of group of func‐
7 tions
8
10 #include <ne_alloc.h>
11
12
13 ne_buffer *ne_buffer_create (void);
14
15 ne_buffer *ne_buffer_ncreate (size_t size);
16
17
19 ne_buffer_create creates a new buffer object, with an implementa‐
20 tion-defined initial size. ne_buffer_ncreate creates an ne_buffer where
21 the minimum initial size is given in the size parameter. The buffer
22 created will contain the empty string ("").
23
24
26 Both functions return a pointer to a new buffer object, and never NULL.
27
28
30 ne_buffer(3)
31
32
34 Joe Orton <neon@webdav.org>.
35
36
37
38neon 0.25.5 20 January 2006 NE_BUFFER_CREATE(3)