23 |
|
|
24 |
#include <config.h> |
#include <config.h> |
25 |
|
|
|
#include <stdlib.h> /* _fmode */ |
|
26 |
#include <stdio.h> |
#include <stdio.h> |
27 |
#include <fcntl.h> |
#include <fcntl.h> |
28 |
#include <time.h> |
#include <time.h> |
111 |
/* Grab our malloc arena space now, before CRT starts up. */ |
/* Grab our malloc arena space now, before CRT starts up. */ |
112 |
init_heap (); |
init_heap (); |
113 |
|
|
|
/* The default behavior is to treat files as binary and patch up |
|
|
text files appropriately, in accordance with the MSDOS code. */ |
|
|
_fmode = O_BINARY; |
|
|
|
|
114 |
/* This prevents ctrl-c's in shells running while we're suspended from |
/* This prevents ctrl-c's in shells running while we're suspended from |
115 |
having us exit. */ |
having us exit. */ |
116 |
SetConsoleCtrlHandler ((PHANDLER_ROUTINE) ctrl_c_handler, TRUE); |
SetConsoleCtrlHandler ((PHANDLER_ROUTINE) ctrl_c_handler, TRUE); |
807 |
} |
} |
808 |
|
|
809 |
/* eof */ |
/* eof */ |
810 |
|
|
811 |
|
/* arch-tag: fe1d3d1c-ef88-4917-ab22-f12ab16b3254 |
812 |
|
(do not change this comment) */ |