]> git.neil.brown.name Git - edlib.git/commit
Introduce strstarts()
authorNeilBrown <neil@brown.name>
Sun, 18 Jun 2023 00:44:39 +0000 (10:44 +1000)
committerNeilBrown <neil@brown.name>
Wed, 28 Jun 2023 07:51:41 +0000 (17:51 +1000)
commitbd1d8435fce1260542b49807997f4f54e7286c84
tree842c427345afc623b7fd8de785dc9a4307421662
parentbeec6d39df3cc117f0de2e2f2d2883c908c774ac
Introduce strstarts()

It is a common pattern to check if a string starts with a fixed string.
So match this a #defined thing.

Signed-off-by: NeilBrown <neil@brown.name>
14 files changed:
core-doc.c
core-editor.c
display-ncurses.c
display-x11-xcb.c
doc-email.c
doc-multipart.c
lang-python.c
lib-config.c
lib-markup.c
lib-renderline.c
misc.h
mode-emacs.c
render-lines.c
rexel.c