Add wrappers for ExitProcess, TerminateProcess
Tue Oct 6 21:15:00 GMT 2009
Christopher Faylor wrote:
> 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.
Oh, ok. I'm sorry; I misread that. Sure, int is fine. I'll do that,
check that it actually builds and works (!), and check it in. Thanks.
> (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)
Hah! Resistance is futile! You can run but you can't hide! <Insert
other hackneyed catch phrase here>!
More information about the Cygwin-patches