ne_buffer_ncreate(3)

ne_buffer_ncreate3

Create a string buffer

Part of ne_buffer_create(3).

Usage

#include <ne_alloc.h>

ne_buffer *ne_buffer_create(void);

ne_buffer *ne_buffer_ncreate(size_t size);

Overview

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.

Releases

9 releases since Debian 4.0 (Etch); the text changed 7 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 8
  5. 9–10
  6. 11
  7. 12
  8. 13

From libneon27-dev 0.34.2-1 in Debian 13 (Trixie). Also shipped by libneon27-gnutls-dev. Parsed by carta from the page's man source.