diff options
author | Lennart Poettering <lennart@poettering.net> | 2018-11-23 16:27:15 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-11-26 14:06:01 +0100 |
commit | 52f1552073047195d51901f7e5a5a4fa3189034e (patch) | |
tree | f49a11b7b2dc534829c483e48b95809efd86b04e /src/basic/gcrypt-util.c | |
parent | update TODO (diff) | |
download | systemd-52f1552073047195d51901f7e5a5a4fa3189034e.tar.xz systemd-52f1552073047195d51901f7e5a5a4fa3189034e.zip |
strv: add new macro STARTSWITH_SET()
This is to startswith() what PATH_STARTSWITH_SET() is to
path_startswith().
Or in other words, checks if the specified string has any of the listed
prefixes, and if so, returns the remainder of the string.
Diffstat (limited to 'src/basic/gcrypt-util.c')
0 files changed, 0 insertions, 0 deletions