extend API To read line/token to stralloc to allow clearing the
stralloc first. add stralloc_zero to clear a stralloc
This commit is contained in:
13
stralloc/stralloc_zero.3
Normal file
13
stralloc/stralloc_zero.3
Normal file
@@ -0,0 +1,13 @@
|
||||
.TH stralloc_zero 3
|
||||
.SH NAME
|
||||
stralloc_zero \- set length of stralloc to 0
|
||||
.SH SYNTAX
|
||||
.B #include <stralloc.h>
|
||||
|
||||
int \fBstralloc_zero\fP(stralloc* \fIsa\fR);
|
||||
.SH DESCRIPTION
|
||||
stralloc_zero sets the length of the stralloc to 0.
|
||||
|
||||
It is a shortcut for stralloc_copys(\fIsa\fR,"").
|
||||
.SH "SEE ALSO"
|
||||
stralloc_copys(3)
|
||||
Reference in New Issue
Block a user