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)
commitc63b1d0aa5a62651d7dddf0550ca3a9a94d05d98
tree3959591870b98ea1f43ba0b95060ef87fc320d7a
parentc8e76bde78b54d1c645cc4e7f64f89225526e1c1
linux.c: Implement the return-code protocol described.

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.
linux.c