strlist.c | 245 * strlist_match -- 257 strlist_match(const char * const sl, size_t const slsize, function in typeref:typename:int 274 * Like strlist_match(), but uses pmatch(9) to match the 415 assert(strlist_match(sl, slsize, "non-existent") == 0); 416 assert(strlist_match(sl, slsize, "zero") == 6); 417 assert(strlist_match(sl, slsize, "one") == 5); 418 assert(strlist_match(sl, slsize, "two") == 4); 419 assert(strlist_match(sl, slsize, "three") == 3); 420 assert(strlist_match(sl, slsize, "four") == 2); 421 assert(strlist_match(sl, slsize, "five") == 1) [all...] |