Logo Search packages:      
Sourcecode: bglibs version File versions

int str_catb ( str s,
const char *  in,
unsigned  len 

Append a binary block

Definition at line 43 of file cat.c.

References len, s, and str_realloc.

Referenced by str_cat(), str_cats(), and str_sort().

  if (!str_realloc(s, s->len + len)) return 0;
  memcpy(s->s+s->len, in, len);
  s->len += len;
  s->s[s->len] = 0;
  return 1;

Generated by  Doxygen 1.6.0   Back to index