chiark / gitweb /
main: split out reading of /proc/sys/fs/nr_open into its own function
authorLennart Poettering <lennart@poettering.net>
Tue, 5 Jun 2018 13:21:47 +0000 (15:21 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000 (16:47 +0200)
commit83e6d192cbe160dbea62427bab0f6f7d490ce215
tree80c85bdcf9d4a8a10cbabdb0e82bf5108b213e76
parent9f900051e499dbedb1aae2a0f81c4a295d2069ae
main: split out reading of /proc/sys/fs/nr_open into its own function

This doesn't really reduce the code size over all, but it does make main.c
shorter and more readable, and that's always a good thing.
src/basic/fd-util.c
src/basic/fd-util.h
src/test/test-fd-util.c