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()
> ?

Sure - it'd be hard to justify the "CRT" part without it! 

-- 
Gary R. Van Sickle
Brewer.  Patriot. 


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