case_starts man page

case_starts — compare prefixes of strings case-insensitively

Syntax

#include <case.h>

int case_starts(const char* a,const char* b);

Description

case_starts returns 1 if b is a prefix of a, 0 otherwise. For this comparison, 'A' == 'a', 'B' == 'b', ..., 'Z' == 'z'.

See Also

str_start(3)

Info