nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

stralloc_arts.c (205B)


      1 #include "byte.h"
      2 #include "str.h"
      3 #include "stralloc.h"
      4 
      5 int stralloc_starts(sa,s)
      6 stralloc *sa;
      7 char *s;
      8 {
      9   unsigned int len;
     10   len = str_len(s);
     11   return (sa->len >= len) && byte_equal(s,len,sa->s);
     12 }