Logo Search packages:      
Sourcecode: bglibs version File versions

int str_startb ( const str a,
const char *  b,
unsigned  len 

Match the prefix of the string to a binary chunk.

Definition at line 35 of file start.c.

References len, and s.

Referenced by str_start(), and str_starts().

  if (len > a->len) return 0;
  return memcmp(a->s, b, len) == 0;

Generated by  Doxygen 1.6.0   Back to index