diff options
author | Lennart Poettering <lennart@poettering.net> | 2023-01-20 13:14:42 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2023-01-20 17:27:51 +0100 |
commit | e8bec6242bf763afa7de7843d1daae567651c249 (patch) | |
tree | 9aba006f260fa4748530edc19fcf6f7a5bd9351d /src/locale/localed.c | |
parent | 71c6f0ac524e174800a23410b121bee45f9e3f67 (diff) | |
download | systemd-e8bec6242bf763afa7de7843d1daae567651c249.tar.gz |
string-util: add new strdupcspn()/strdupspn()
These combine strndup() + strspn()/strcspn() into one.
There are a bunch of strndupa() calls that could use similar treatment
(or should be converted to strdup[c]spn(), but this commit doesn't
bother with that.
Diffstat (limited to 'src/locale/localed.c')
0 files changed, 0 insertions, 0 deletions