redhat man page for ne_buffer_clear

Query: ne_buffer_clear

OS: redhat

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

NE_BUFFER_CLEAR(3)						neon API reference						NE_BUFFER_CLEAR(3)

NAME
ne_buffer_clear, ne_buffer_grow, ne_buffer_altered - general purpose of group of functions
SYNOPSIS
#include <ne_string.h> void ne_buffer_clear (ne_buffer *buf); void ne_buffer_altered (ne_buffer *buf); void ne_buffer_grow (ne_buffer *buf, size_t size);
DESCRIPTION
The ne_buffer_clear function sets the string stored in buf to be the empty string (""). The ne_buffer_altered function must be used after the string stored in the buffer buf is modified by directly rather than using ne_buf- fer_append(3), ne_buffer_zappend(3) or ne_buffer_concat(3). The ne_buffer_grow function ensures that at least size bytes are allocated for the string; this can be used if a large amount of data is going to be appended to the buffer and may result in more efficient memory allocation.
AUTHOR
Joe Orton <neon@webdav.org>. neon 0.23.5 8 October 2002 NE_BUFFER_CLEAR(3)
Related Man Pages
ne_buffer_altered(3) - opensolaris
ne_buffer_clear(3) - opensolaris
ne_buffer_concat(3) - redhat
ne_buffer_concat(3) - centos
ne_buffer_append(3) - centos
Similar Topics in the Unix Linux Community
Make all words begin with capital letter?
Reduced Activity Notification
Create an unconfigured VMware host from a template that is set to do firstboot --reconfig
Issue with &quot;rsh&quot; on RedHat
[TIP] Processing YAML files with yq