Man Page: ne_buffer_clear
Operating Environment: opensolaris
Section: 3
NE_BUFFER_CLEAR(3) neon API reference NE_BUFFER_CLEAR(3)NAMEne_buffer_clear, ne_buffer_grow, ne_buffer_altered - general purpose of group of functionsSYNOPSIS#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_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.AUTHORJoe Orton <neon@webdav.org>.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +--------------------+-----------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +--------------------+-----------------+ |Availability | SUNWneon | +--------------------+-----------------+ |Interface Stability | Volatile | +--------------------+-----------------+NOTESSource for Neon is available on http://opensolaris.org. neon 0.25.5 20 January 2006 NE_BUFFER_CLEAR(3)
| Related Man Pages |
|---|
| ne_buffer_finish(3) - opensolaris |
| ne_buffer_zappend(3) - opensolaris |
| ne_buffer_concat(3) - redhat |
| ne_buffer_destroy(3) - redhat |
| ne_buffer_finish(3) - redhat |
| Similar Topics in the Unix Linux Community |
|---|
| Trying to block signal |
| What does this mean? |
| Study UNIX Kernel |
| Free Sun Blade 2k, Ultra 2, Ross Hyperstation 30, cards, memory- Baltimore, MD |
| Identify problem with while getopts |