apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Pilch-Bisson <ke...@pilch-bisson.net>
Subject apr_proc_wait status codes.
Date Thu, 20 Sep 2001 14:49:32 GMT
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