]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lib: (pidutils) improve the return protocol
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 26 Jan 2026 14:29:33 +0000 (09:29 -0500)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 26 Jan 2026 19:50:30 +0000 (14:50 -0500)
commit0a8bd23a42c385a3558121c4aaa8785bbc4a6f22
tree058d530a8eaa86378797ba34004e036746993116
parent82fc20e3087a187dc787664186721d1499a6c142
lib: (pidutils) improve the return protocol

Instead of using generic return codes, lets
be more precise and return negative errno
numbers and set errno accordingly, so that
higher level callers can report errors more
accurately.

Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
lib/pidutils.c