1 /**************************************************************************/
2 /*                                                                        */
3 /*                                 OCaml                                  */
4 /*                                                                        */
5 /*             Damien Doligez, projet Para, INRIA Rocquencourt            */
6 /*                                                                        */
7 /*   Copyright 1996 Institut National de Recherche en Informatique et     */
8 /*     en Automatique.                                                    */
9 /*                                                                        */
10 /*   All rights reserved.  This file is distributed under the terms of    */
11 /*   the GNU Lesser General Public License version 2.1, with the          */
12 /*   special exception on linking described in the file LICENSE.          */
13 /*                                                                        */
14 /**************************************************************************/
15 
16 /* Function declarations for non-Unix user interfaces */
17 
18 #ifndef CAML_UI_H
19 #define CAML_UI_H
20 
21 #ifdef CAML_INTERNALS
22 
23 #include "config.h"
24 
25 void ui_exit (int return_code);
26 int ui_read (int file_desc, char *buf, unsigned int length);
27 int ui_write (int file_desc, char *buf, unsigned int length);
28 void ui_print_stderr (char *format, void *arg);
29 
30 #endif /* CAML_INTERNALS */
31 
32 #endif /* CAML_UI_H */
33