]> git.ipfire.org Git - thirdparty/systemd.git/commit
glob: add glob_first(), returns first match
authorLuca Boccassi <bluca@debian.org>
Wed, 3 Aug 2022 13:20:41 +0000 (14:20 +0100)
committerLuca Boccassi <bluca@debian.org>
Tue, 23 Aug 2022 19:04:41 +0000 (20:04 +0100)
commitf52faaf923acfe6fe3f0955d1ad66840b13babfc
tree231492119bbb57956a9967841f99c6595333e649
parentd4f38ff036ce001081175292e87198ee4b19c364
glob: add glob_first(), returns first match

Note that which match is returned depends on the system and is
not guaranteed to be stable
src/basic/glob-util.c
src/basic/glob-util.h
src/test/test-glob-util.c