Query: ne_buffer_altered
OS: centos
Section: 3
Links: centos man pages all man pages
Forums: unix linux community forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NE_BUFFER_CLEAR(3) neon API reference NE_BUFFER_CLEAR(3)NAMEne_buffer_clear, ne_buffer_grow, ne_buffer_altered - clear, grow, or mark as altered a string bufferSYNOPSIS#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);DESCRIPTIONThe 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_buffer_append, ne_buffer_zappend or ne_buffer_concat. 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.AUTHORJoe Orton <neon@lists.manyfish.co.uk> Author.COPYRIGHTneon 0.30.0 31 July 2013 NE_BUFFER_CLEAR(3)
Related Man Pages |
---|
ne_buffer_altered(3) - opensolaris |
ne_buffer_grow(3) - opensolaris |
ne_buffer_append(3) - debian |
ne_buffer_append(3) - centos |
ne_buffer_zappend(3) - suse |
Similar Topics in the Unix Linux Community |
---|
PHP Man Pages and Forum Integration |