3448a9698025844b0ddca6e4638b720b13180ffc
Using `kill()` with a signal of 0 is a slightly more documented idiom for checking whether a process still exists. It is mentioned explicitly in man pages. This avoids the need to comment the call as "misuse". A comment is still necessary - in fact this idiom is even more confusing if you don't know how it works. But it's easy enough to explain.
systemd - System and Service Manager
Details
General information about systemd can be found in the systemd Wiki.
Information about build requirements are provided in the README file.
Consult our NEWS file for information about what's new in the most recent systemd versions.
Please see the HACKING file for information how to hack on systemd and test your modifications.
Please see our Contribution Guidelines for more information about filing GitHub Issues and posting GitHub Pull Requests.
When preparing patches for systemd, please follow our Coding Style Guidelines.
If you are looking for support, please contact our mailing list or join our IRC channel.
Languages
C
88.5%
Shell
5.7%
Python
4.6%
Meson
1.1%