You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
449 B
Groff
14 lines
449 B
Groff
.TH stralloc_starts 3
|
|
.SH NAME
|
|
stralloc_starts \- check if string is prefix of stralloc
|
|
.SH SYNTAX
|
|
.B #include <stralloc.h>
|
|
|
|
extern int \fBstralloc_starts\fP(stralloc* \fIsa\fR,const char* \fIin\fR);
|
|
.SH DESCRIPTION
|
|
stralloc_starts returns 1 if the \\0-terminated string in \fIbuf\fR, without
|
|
the terminating \\0, is a prefix of the string stored in \fIsa\fR. Otherwise
|
|
it returns 0. \fIsa\fR must already be allocated.
|
|
.SH "SEE ALSO"
|
|
str_starts(3)
|