Skip to content

str_start.3

Manvendra Bhangui edited this page May 7, 2023 · 2 revisions

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)

Clone this wiki locally