📄 ne_buffer_clear.3
字号:
.\"Generated by db2man.xsl. Don't modify this, modify the source..de Sh \" Subsection.br.if t .Sp.ne 5.PP\fB\\$1\fR.PP...de Sp \" Vertical space (when we can't use .PP).if t .sp .5v.if n .sp...de Ip \" List item.br.ie \\n(.$>=3 .ne \\$3.el .ne 3.IP "\\$1" \\$2...TH "NE_BUFFER_CLEAR" 3 "5 July 2004" "neon 0.24.7" "neon API reference".SH NAMEne_buffer_clear, ne_buffer_grow, ne_buffer_altered \- general purpose of group of functions.SH "SYNOPSIS".ad l.hy 0#include <ne_string\&.h>.sp.HP 22void\ \fBne_buffer_clear\fR\ (ne_buffer\ *\fIbuf\fR);.HP 24void\ \fBne_buffer_altered\fR\ (ne_buffer\ *\fIbuf\fR);.HP 21void\ \fBne_buffer_grow\fR\ (ne_buffer\ *\fIbuf\fR, size_t\ \fIsize\fR);.ad.hy.SH "DESCRIPTION".PPThe \fBne_buffer_clear\fR function sets the string stored in \fIbuf\fR to be the empty string ("")\&..PPThe \fBne_buffer_altered\fR function must be used after the string stored in the buffer \fIbuf\fR is modified by directly rather than using \fBne_buffer_append\fR(3), \fBne_buffer_zappend\fR(3) or \fBne_buffer_concat\fR(3)\&..PPThe \fBne_buffer_grow\fR function ensures that at least \fIsize\fR 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\&..SH AUTHORJoe Orton <neon@webdav\&.org>.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -