summaryrefslogtreecommitdiff
path: root/man/sd_bus_get_fd.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-02-09 18:35:52 +0100
committerSven Eden <yamakuzure@gmx.net>2018-05-30 07:59:09 +0200
commitfa4505314d65df4bd778543ea3753d6efd696ca1 (patch)
tree58ad048ec4f6ac83275a0b2f253f90594713d8be /man/sd_bus_get_fd.xml
parentc3b7f359b022902190c58c1d8f17eb70265bc603 (diff)
cgroup-util: rework cg_get_keyed_attribute() a bit
Let's make sure we don't clobber the return parameter on failure, to follow our coding style. Also, break the loop early if we have all attributes we need. This also changes the keys parameter to a simple char**, so that we can use STRV_MAKE() for passing the list of attributes to read. This also makes it possible to distuingish the case when the whole attribute file doesn't exist from one key in it missing. In the former case we return -ENOENT, in the latter we now return -ENXIO.
Diffstat (limited to 'man/sd_bus_get_fd.xml')
0 files changed, 0 insertions, 0 deletions