~mdw
/
fastforward
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Import fastforward 0.51
[fastforward]
/
stralloc_arts.c
Commit
Line
Data
8d5530c4
MW
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
int len;
10
len = str_len(s);
11
return (sa->len >= len) && byte_equal(s,len,sa->s);
12
}