#include "w32.h"
#include "ndir.h"
#include "w32heap.h"
-
+#include "systime.h"
+
#undef min
#undef max
#define min(x, y) (((x) < (y)) ? (x) : (y))
void
init_environment (char ** argv)
{
- int len;
static const char * const tempdirs[] = {
"$TMPDIR", "$TEMP", "$TMP", "c:/"
};
int
sys_shutdown (int s, int how)
{
- int rc;
-
if (winsock_lib == NULL)
{
h_errno = ENETDOWN;
{
int rc;
unsigned flags;
- child_process * cp;
/* make pipe handles non-inheritable; when we spawn a child, we
replace the relevant handle with an inheritable one. Also put