Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Unix.file_descr -> int ???
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-06-11 (15:40)
From: Bruno.Verlyck@i...
Subject: Re: [Caml-list] Unix.file_descr -> int ???
   Date: Tue, 11 Jun 2002 21:31:59 +0700
   From: Max Kirillov <>

   Suddently, I'm unable to recover file descriptor from Unix's file_descr.  At
   least, Unix module does not contain any function doing that and the type is

   What was a reason for the limitation?
Xavier answered this some years ago; see

   Is there some way (apart from hacking ocaml) to do that?
You can use Cash (  It has all the
machinery you may want to do that.  This machinery is not that light,
and this comforts Xavier's choice (IMO).

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: