ExitProcess or exit?

Robert Collins rbcollins@cygwin.com
Sun Mar 16 19:43:00 GMT 2003


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>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://cygwin.com/pipermail/cygwin-apps/attachments/20030316/1d52b587/attachment.sig>


More information about the Cygwin-apps mailing list