Browse thread
Objective Caml's Unix libraries
-
Pawel Wojciechowski
-
Xavier Leroy
-
Bruno.Verlyck@i...
- Alexandre Frey
-
Bruno.Verlyck@i...
-
Xavier Leroy
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 1997-03-13 (13:25) |
From: | Alexandre Frey <frey@p...> |
Subject: | Re: Objective Caml's Unix libraries |
Bruno, > In english: Xavier's arguments are very strong. But within them (and > the Unix library), I can't write a /bin/sh clone, because of >&3 > (here, and for Pawel.Wojciechowski, it would be enough to add a fun > fileno : filedesc -> int, like the stdio macro) and <&3 -- but I > thought about it for only 5 min. As a hack, you can always write this: let fileno (fd: file_descr): int = (Obj.magic fd) But of course, you loose the safety of the abstract `file_descr' type. -- Alexandre.