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.
 
 
 
 

17 lines
563 B

  1. .TH stralloc_diffs 3
  2. .SH NAME
  3. stralloc_diffs \- check if string is prefix of stralloc
  4. .SH SYNTAX
  5. .B #include <stralloc.h>
  6. int \fBstralloc_diffs\fP(stralloc* \fIa\fR,const char* \fIb\fR);
  7. .SH DESCRIPTION
  8. stralloc_diffs returns negative, 0, or positive, depending on whether
  9. the \\0-terminated string in \fIa\fR, without
  10. the terminating \\0, is lexicographically smaller than, equal to, or
  11. greater than the string stored in \fIa\fR.
  12. .SH "RETURN VALUE"
  13. 1 for success, 0 on memory allocation failure.
  14. .SH "SEE ALSO"
  15. stralloc_diff(3), stralloc_starts(3), str_diff(3)