Branch
Hash :
cadd8eb7
Author :
Date :
2025-01-04T10:17:39
*_startswith, *_endswith: Change return type to 'bool'. Suggested by Paul Eggert. * lib/string.in.h (str_startswith, str_endswith, mbs_startswith, mbs_endswith): Change return type to 'bool'. * lib/str_startswith.c (str_startswith): Likewise. * lib/str_endswith.c (str_endswith): Likewise. * lib/mbs_endswith.c (mbs_endswith): Likewise. * modules/str_startswith (Depends-on): Add bool. * modules/str_endswith (Depends-on): Likewise. * modules/mbs_startswith (Depends-on): Likewise. * modules/mbs_endswith (Depends-on): Likewise.
Description:
mbs_startswith() function: test whether a multibyte string starts with a given prefix.
Files:
Depends-on:
string-h
bool
str_startswith
configure.ac:
gl_STRING_MODULE_INDICATOR([mbs_startswith])
Makefile.am:
Include:
<string.h>
License:
LGPLv2+
Maintainer:
all