summaryrefslogtreecommitdiffstats
path: root/byterun/sys.h
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2007-02-25 12:38:36 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2007-02-25 12:38:36 +0000
commit160e4050d82aa38be7f68dd33e4b82b86f09ab39 (patch)
tree1c50e3e43bc46bf050ec47183f4c5ee7ddfcff5f /byterun/sys.h
parente254ca38e003e7fa3b0989a706d4605bdcd47382 (diff)
Raise Sys_blocked_io only in I/O operations that return EAGAIN/EWOULDBLOCK. Other, non-I/O related system calls can also return EAGAIN (e.g. in Sys.command); these should raise Sys_error, not Sys_blocked_io
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7919 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/sys.h')
-rw-r--r--byterun/sys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/byterun/sys.h b/byterun/sys.h
index ef2354275..4ad8011d9 100644
--- a/byterun/sys.h
+++ b/byterun/sys.h
@@ -21,6 +21,7 @@
#define NO_ARG Val_int(0)
CAMLextern void caml_sys_error (value);
+CAMLextern void caml_sys_io_error (value);
extern void caml_sys_init (char * exe_name, char ** argv);
CAMLextern value caml_sys_exit (value);