Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Thursday, June 13, 2019
 
 

ne_buffer_create (3)

Name

ne_buffer_create - create a string buffer

Synopsis

#include <ne_alloc.h>

ne_buffer *ne_buffer_create(void);

ne_buffer *ne_buffer_ncreate(size_t size);

Description

NE_BUFFER_CREATE(3)           neon API reference           NE_BUFFER_CREATE(3)



NAME
       ne_buffer_create, ne_buffer_ncreate - create a string buffer

SYNOPSIS
       #include <ne_alloc.h>

       ne_buffer *ne_buffer_create(void);

       ne_buffer *ne_buffer_ncreate(size_t size);

DESCRIPTION
       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.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/neon     |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+
SEE ALSO
       ne_buffer

AUTHOR
       Joe Orton <neon@lists.manyfish.co.uk>
           Author.

COPYRIGHT
NOTES
       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from
       http://www.webdav.org/neon/neon-0.30.1.tar.gz

       Further information about this software can be found on the open source
       community website at http://www.webdav.org/neon/.



neon 0.30.1                    23 September 2014           NE_BUFFER_CREATE(3)