neon API reference NEBUFERCLEAR(3)
NAME
nebufferclear, nebuffergrow, nebufferaltered - general
purpose of group of functions
SYNOPSIS
#include
void nebufferclear (nebuffer *buf);
void nebufferaltered (nebuffer *buf);
void nebuffergrow (nebuffer *buf, sizet size);
DESCRIPTION
The nebufferclear function sets the string stored in buf
to be the empty string ("").
The nebufferaltered function must be used after the string
stored in the buffer buf is modified by directly rather than
using nebufferappend(3), nebufferzappend(3) or
nebufferconcat(3).
The nebuffergrow 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 .
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
box; cbp-1 cbp-1 l l . ATRIBUTE TYPE ATRIBUTE VALUE =
Availability SUNWneon = Interface Stability Volatile
NOTES
Source for Neon is available on http:/opensolaris.org.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
neon 0.25.5 Last change: 20 January 2006 1
neon API reference NEBUFERCLEAR(3)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWneon
Interface Stability Volatile
NOTES
Source for Neon is available on http:/opensolaris.org.
neon 0.25.5 Last change: 20 January 2006 2
|