chiark / gitweb /
linux.c: Implement the return-code protocol described.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 18 Jan 2015 04:07:44 +0000 (04:07 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 18 Jan 2015 04:13:35 +0000 (04:13 +0000)
It should return zero on success or -1 on failure, because it's an
operation which attempts to return a value, and so might fail -- as
opposed to a predicate asking a simple boolean question about the world.

No actual harm done, because the code was correct to begin with, but
potentially confusing later.


No differences found