str: strcount
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 7 Jan 2011 23:47:37 +0000 (10:17 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 7 Jan 2011 23:47:37 +0000 (10:17 +1030)
commit053f9398c5959d070b7092653ec8f222200ab463
treef7455c70fc8f36d31bb74387b2ee504fa99da523
parentd4929b8d2c8fc18ab16d2ef2bf7af11e87dac36d
str: strcount

Useful routine to count number of matches in a string.
ccan/str/str.c [new file with mode: 0644]
ccan/str/str.h
ccan/str/test/run.c
tools/ccanlint/Makefile