]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/test/test-path-util.c
util: add macro for iterating through all prefixes of a path
authorLennart Poettering <lennart@poettering.net>
Wed, 25 Sep 2013 18:58:23 +0000 (20:58 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 25 Sep 2013 19:04:35 +0000 (21:04 +0200)
commitfecffe5d0a1bd66d80e5a8728ff8a89673be0df7
tree133a9f9b0dc791723a1e63fa6efb5fafa4a8ba60
parentbc5fb0809e6f5784888f30057708548f14dcb459
util: add macro for iterating through all prefixes of a path

Syntactic sugar in a macro PATH_FOREACH_PREFIX.
src/shared/cgroup-util.c
src/shared/path-util.h
src/test/test-path-util.c