This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ExitProcess or exit?


On Sun, 2003-03-16 at 01:01, Max Bowsher wrote:
> #ifndef _CYGWIN_
>     ExitProcess (1);
> #else
>     exit (1);
> #endif
> 
> I'm puzzled by the above. Shouldn't we be giving MSVCRT the opportunity to
> run any shutdown it wishes to?

Well ExitProcess is the windows API exit call. Is there a MSVCRT exit()
?

Rob
-- 
GPG key available at: <http://users.bigpond.net.au/robertc/keys.txt>.

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]