524cab3cd8
git-svn-id: svn://kolibrios.org@7184 a494cfbc-eb01-0410-851d-a64ba20cac60
11 lines
270 B
C
11 lines
270 B
C
#include <stdlib.h>
|
|
#include <conio.h>
|
|
#include <kolibrisys.h>
|
|
|
|
void exit (int status)
|
|
/* close console if was initialized, also stay window [finished] when status is error < 0 */
|
|
{
|
|
if (__console_initdll_status)
|
|
con_exit(status > 0);
|
|
_ksys_exit();
|
|
} |