summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/unix.ml
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/unix.ml')
-rw-r--r--otherlibs/unix/unix.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/unix.ml b/otherlibs/unix/unix.ml
index 4e99830c3..4f7c2fa53 100644
--- a/otherlibs/unix/unix.ml
+++ b/otherlibs/unix/unix.ml
@@ -166,9 +166,9 @@ let write fd buf ofs len =
else unsafe_write fd buf ofs len
external in_channel_of_descr : file_descr -> in_channel
- = "caml_open_descriptor"
+ = "caml_open_descriptor_in"
external out_channel_of_descr : file_descr -> out_channel
- = "caml_open_descriptor"
+ = "caml_open_descriptor_out"
external descr_of_in_channel : in_channel -> file_descr = "channel_descriptor"
external descr_of_out_channel : out_channel -> file_descr
= "channel_descriptor"