Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not 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
441 B

  1. .TH stralloc_starts 3
  2. .SH NAME
  3. stralloc_starts \- check if string is prefix of stralloc
  4. .SH SYNTAX
  5. .B #include <stralloc.h>
  6. int \fBstralloc_starts\fP(stralloc* \fIsa\fR,const char* \fIin\fR);
  7. .SH DESCRIPTION
  8. stralloc_starts returns 1 if the \\0-terminated string in \fIin\fR, without
  9. the terminating \\0, is a prefix of the string stored in \fIsa\fR. Otherwise
  10. it returns 0. \fIsa\fR must already be allocated.
  11. .SH "SEE ALSO"
  12. str_starts(3)