apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Tutt" <rassi...@lyra.org>
Subject RE: apr_proc_wait status codes.
Date Thu, 20 Sep 2001 18:26:26 GMT
That would seem to make lots of sense. 

Bill

"Though we are not now that strength that in old days moved Earth and
Heaven, that which we are we are; One equal temper of heroic hearts made
weak by time and fate but strong in will to strive, to seek, to find,
and not to yield." -- Tennyson



-----Original Message-----
From: Kevin Pilch-Bisson [mailto:kevin@pilch-bisson.net] 
Sent: Thursday, September 20, 2001 7:50 AM
To: dev@apr.apache.org
Subject: apr_proc_wait status codes.


Hi all,

I'm the one sort of reponsible for asking for return codes in 
apr_proc_wait (and thanks for how quickly they were added), but now I am
concerned about their portability.

My MSDN page for GetExitCodeProcess says it retrurns either 
STILL_ACTIVE or the return code for the process.  Meanwhile my linux
waitpid man page says that the status code must be acessed using
WIFEXITED, WEXITSTATUS, etc macros.

Perhaps we also need some APR_PROC_STATUS macros?
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Mime
View raw message