Home Man
Today's Posts

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:
Select Section of Man Page:
Select Man Page Repository:

RedHat 9 (Linux i386) - man page for ne_buffer (redhat section 3)

NE_BUFFER(3)				neon API reference			     NE_BUFFER(3)

       ne_buffer - string buffer handling

       #include <ne_string.h>

       typedef struct {
	   char *data;
	   size_t used;
	   size_t length;
       } ne_buffer;

       The  ne_buffer  type  represents  an  expandable  memory buffer for holding NUL-terminated
       strings. The data field points to the beginnning of the string, the  length  of	which  is
       given  by  the  used  field.  The  current size of memory allocated is given by the length
       field. It is not recommended that the fields of a buffer  are  manipulated  directly.  The
       data pointer may change when the buffer is modified.

       A buffer is created using ne_buffer_create(3) or ne_buffer_ncreate(3), and destroyed using
       ne_buffer_destroy(3) or ne_buffer_finish(3). The  functions  ne_buffer_append(3),  ne_buf-
       fer_zappend(3) and ne_buffer_concat(3) are used to append data to a buffer.

       If  the	string referenced by the data pointer is modified directly (rather than using one
       of the functions listed above), ne_buffer_altered must be called.

       Joe Orton <neon@webdav.org>.

neon 0.23.5				  8 October 2002			     NE_BUFFER(3)

All times are GMT -4. The time now is 12:48 PM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
Show Password

Not a Forum Member?
Forgot Password?