ne_buffer_append man page on Slackware

Man page or keyword search:  
man Server   14563 pages
apropos Keyword Search (all sections)
Output format
Slackware logo
[printable version]

NE_BUFFER_APPEND(3)	      neon API reference	   NE_BUFFER_APPEND(3)

NAME
       ne_buffer_append, ne_buffer_zappend, ne_buffer_concat - append data to
       a string buffer

SYNOPSIS
       #include <ne_string.h>

       void ne_buffer_append(ne_buffer *buf, const char *string, size_t len);

       void ne_buffer_zappend(ne_buffer *buf, const char *string);

       void ne_buffer_concat(ne_buffer *buf, const char *str, ...);

DESCRIPTION
       The ne_buffer_append and ne_buffer_zappend functions append a string to
       the end of a buffer; extending the buffer as necessary. The len passed
       to ne_buffer_append specifies the length of the string to append; there
       must be no NUL terminator in the first len bytes of the string.
       ne_buffer_zappend must be passed a NUL-terminated string.

       The ne_buffer_concat function takes a variable-length argument list
       following str; each argument must be a char * pointer to a
       NUL-terminated string. A NULL pointer must be given as the last
       argument to mark the end of the list. The strings (including str) are
       appended to the buffer in the order given. None of the strings passed
       to ne_buffer_concat are modified.

EXAMPLES
       The following code will output "Hello, world. And goodbye.".

	   ne_buffer *buf = ne_buffer_create();
	   ne_buffer_zappend(buf, "Hello");
	   ne_buffer_concat(buf, ", world. ", "And ", "goodbye.", NULL);
	   puts(buf->data);
	   ne_buffer_destroy(buf);

SEE ALSO
       ne_buffer, ne_buffer_create, ne_buffer_destroy

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

COPYRIGHT
neon 0.29.6			  3 May 2011		   NE_BUFFER_APPEND(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Slackware

List of man pages available for Slackware

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net