Add cygwin wrapper for ExitProcess and TerminateProcess.

This commit is contained in:
Charles Wilson
2009-10-06 21:51:17 +00:00
parent 960bdc0e74
commit c8ee587a8e
6 changed files with 65 additions and 5 deletions

View File

@@ -155,6 +155,7 @@ public:
}
void exit (DWORD n) __attribute__ ((noreturn, regparm(2)));
void maybe_set_exit_code_from_windows () __attribute__ ((regparm(1)));
void set_exit_code (DWORD n) __attribute__ ((regparm(2)));
_pinfo *operator -> () const {return procinfo;}
int operator == (pinfo *x) const {return x->procinfo == procinfo;}
int operator == (pinfo &x) const {return x.procinfo == procinfo;}