time(1): Return value and sys/wait.h macros

2003-08-02 Thread Dirk Eddelbuettel
I've been asked (#203804) to supply an entry in the Debian manual page of my GNU time package (which, btw, is orphaned upstream, any takers ?). The main() function ends on if (WIFSTOPPED (res.waitstatus)) exit (WSTOPSIG (res.waitstatus)); else if (WIFSIGNALED (res.waitstatus)) exit

Re: time(1): Return value and sys/wait.h macros

2003-08-02 Thread Steve Greenland
On 02-Aug-03, 16:52 (CDT), Dirk Eddelbuettel [EMAIL PROTECTED] wrote: .SH DIAGNOSTICS Upon termination, .B time returns one of three possible return values depending on whether the program was stopped, interrupted, or exited normally. The return value is derived used the macros defined

Re: time(1): Return value and sys/wait.h macros

2003-08-02 Thread Herbert Xu
Dirk Eddelbuettel [EMAIL PROTECTED] wrote: I've been asked (#203804) to supply an entry in the Debian manual page of my GNU time package (which, btw, is orphaned upstream, any takers ?). The main() function ends on if (WIFSTOPPED (res.waitstatus)) exit (WSTOPSIG (res.waitstatus));