Add wrappers for ExitProcess, TerminateProcess

Christopher Faylor cgf-use-the-mailinglist-please@cygwin.com
Tue Oct 6 21:09:00 GMT 2009


On Tue, Oct 06, 2009 at 05:01:46PM -0400, Charles Wilson wrote:
>So, to avoid requiring #include <windows.h>, I guess the next best thing
>is option #3, right?
>
>> 3) use bool in static function exit_process, use unsigned long in
>> cygwin_internal and callers.

Actually, I'd just use int for the external "bool" field and bool
internally.  I was proposing unsigned long for the UINT field but I've
given up on that.

(I can't believe that I'm having an anal bool discussion in a cygwin list
after heroically avoiding it at my real job for months)

cgf



More information about the Cygwin-patches mailing list