This is the mail archive of the
mailing list for the Cygwin project.
RE: ExitProcess or exit?
- From: "Gary R. Van Sickle" <g dot r dot vansickle at worldnet dot att dot net>
- To: <cygwin-apps at cygwin dot com>
- Date: Sun, 16 Mar 2003 13:52:50 -0600
- Subject: 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()
Sure - it'd be hard to justify the "CRT" part without it!
Gary R. Van Sickle