1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00
The systemd System and Service Manager
Go to file
Aaro Koskinen c4cd1d4d93 fileio: make get_status_field() more generic
All users of get_status_field() expect the field pattern to occur in
the beginning of a line, and the delimiter is ':'.

Hardcode this into the function, and also skip any whitespace before ':'
to support fields in files like /proc/cpuinfo. Add support for returning
the full field value (currently stops on first whitespace).

Rename the function so it's easier to ensure all callers switch to new
semantics.
2015-09-30 15:57:55 +03:00
catalog
coccinelle
docs
factory/etc
hwdb
m4
man
network
po
rules
shell-completion
src fileio: make get_status_field() more generic 2015-09-30 15:57:55 +03:00
sysctl.d
system-preset
sysusers.d
test
tmpfiles.d
tools
units
xorg
.dir-locals.el
.gitattributes
.gitignore
.mailmap
.travis.yml
.vimrc
.ycm_extra_conf.py
autogen.sh
CODING_STYLE
configure.ac
DISTRO_PORTING
LICENSE.GPL2
LICENSE.LGPL2.1
Makefile-man.am
Makefile.am
NEWS
README
README.md
TODO

systemd - System and Service Manager

Build Status
Coverity Scan Status

Details

  • General information about systemd can be found in the systemd Wiki
  • Information about build requirements are provided in the README file