/***********************************************************************/ /* */ /* Objective Caml */ /* */ /* Xavier Leroy and Pascal Cuoq, projet Cristal, INRIA Rocquencourt */ /* */ /* Copyright 1996 Institut National de Recherche en Informatique et */ /* en Automatique. All rights reserved. This file is distributed */ /* under the terms of the GNU Library General Public License. */ /* */ /***********************************************************************/ /* $Id$ */ #include #include #include /* Include io.h in current dir, which is a copy of the system's io.h, not io.h from ../../byterun */ #include "io.h" #include #include #define Handle_val(v) (*((HANDLE *)(v))) extern value win_alloc_handle(HANDLE); #define Nothing ((value) 0) extern void unix_error (int errcode, char * cmdname, value arg); extern void uerror (char * cmdname, value arg); extern value unix_freeze_buffer (value); #define UNIX_BUFFER_SIZE 16384