Scroll to navigation

str_start(3) Library Functions Manual str_start(3)

NAME

str_start - 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)