str_start - Man Page

compare prefixes of strings

Syntax

#include <str.h>

size_t str_start(const char* a,const char* b);

Description

str_start returns 1 if b is a prefix of a, 0 otherwise.

See Also

strncmp(3)

Referenced By

case_starts(3).