timeout: use system-independent exit values
authorPádraig Brady <P@draigBrady.com>
Mon, 9 Jun 2008 15:10:47 +0000 (16:10 +0100)
committerJim Meyering <meyering@redhat.com>
Tue, 10 Jun 2008 06:27:52 +0000 (08:27 +0200)
commite63c9825da0a71c27e68cd76c6ebf5468b36cdb1
tree00e23028a959c1c57a46857cad2502e6c1440241
parent263bb1be67cae52f2bf20fdf1edf8e4e716ec4ee
timeout: use system-independent exit values

Change exit values from ETIMEDOUT and ECANCELED,
the values of which are system dependent, to
124 and 125 respectively.
* src/timeout.c (EXIT_TIMEDOUT, EXIT_CANCELED): Define.
(usage, main): Adjust.
* coreutils.texi (timeout invocation): Update.
* tests/misc/timeout: Adjust.
doc/coreutils.texi
src/timeout.c
tests/misc/timeout