1NE_BUFFER_CREATE(3) neon API reference NE_BUFFER_CREATE(3)
2
3
4
6 ne_buffer_create, ne_buffer_ncreate - create a string buffer
7
9 #include <ne_alloc.h>
10
11 ne_buffer *ne_buffer_create(void);
12
13 ne_buffer *ne_buffer_ncreate(size_t size);
14
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
22 Both functions return a pointer to a new buffer object, and never NULL.
23
25 ne_buffer
26
28 Joe Orton
29 Author.
30
32neon 0.32.5 21 January 2023 NE_BUFFER_CREATE(3)