1995-08-09 08:06:35 -07:00
|
|
|
/***********************************************************************/
|
|
|
|
/* */
|
2011-07-27 07:17:02 -07:00
|
|
|
/* OCaml */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* */
|
|
|
|
/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
|
|
|
|
/* */
|
1996-04-30 07:53:58 -07:00
|
|
|
/* Copyright 1996 Institut National de Recherche en Informatique et */
|
1999-11-17 10:59:06 -08:00
|
|
|
/* en Automatique. All rights reserved. This file is distributed */
|
2001-12-07 05:41:02 -08:00
|
|
|
/* under the terms of the GNU Library General Public License, with */
|
|
|
|
/* the special exception on linking described in file ../LICENSE. */
|
1995-08-09 08:06:35 -07:00
|
|
|
/* */
|
|
|
|
/***********************************************************************/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2003-12-15 10:10:51 -08:00
|
|
|
#ifndef CAML_SYS_H
|
|
|
|
#define CAML_SYS_H
|
1995-05-04 03:15:53 -07:00
|
|
|
|
|
|
|
#include "misc.h"
|
|
|
|
|
1996-10-01 02:46:42 -07:00
|
|
|
#define NO_ARG Val_int(0)
|
2001-02-19 04:29:00 -08:00
|
|
|
|
2003-12-15 08:29:53 -08:00
|
|
|
CAMLextern void caml_sys_error (value);
|
2007-02-25 04:38:36 -08:00
|
|
|
CAMLextern void caml_sys_io_error (value);
|
2003-12-16 10:09:44 -08:00
|
|
|
extern void caml_sys_init (char * exe_name, char ** argv);
|
2003-12-15 10:37:24 -08:00
|
|
|
CAMLextern value caml_sys_exit (value);
|
2001-02-19 04:29:00 -08:00
|
|
|
|
2002-02-11 05:51:40 -08:00
|
|
|
extern char * caml_exe_name;
|
1995-05-04 03:15:53 -07:00
|
|
|
|
2003-12-15 10:10:51 -08:00
|
|
|
#endif /* CAML_SYS_H */
|