mirror of
https://git.savannah.gnu.org/git/gnulib.git
synced 2025-08-08 17:22:05 +03:00
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.
25 lines
308 B
Plaintext
25 lines
308 B
Plaintext
Description:
|
|
str_startswith() function: test whether a string starts with a given prefix.
|
|
|
|
Files:
|
|
lib/str_startswith.c
|
|
|
|
Depends-on:
|
|
string-h
|
|
bool
|
|
|
|
configure.ac:
|
|
gl_STRING_MODULE_INDICATOR([str_startswith])
|
|
|
|
Makefile.am:
|
|
lib_SOURCES += str_startswith.c
|
|
|
|
Include:
|
|
<string.h>
|
|
|
|
License:
|
|
LGPLv2+
|
|
|
|
Maintainer:
|
|
all
|