Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Any way to seek_in to a position > 2**30 -1?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jeremy Fincher <tweedgeezer@h...>
Subject: [Caml-list] Any way to seek_in to a position > 2**30 -1?
I'm writing some code that depends on being able to seek to 32 bit offsets
in files.  I can emulate this capability in O'Caml with Int32s and
Unix.file_descr, using Unix.SEEK_CUR.  I'd prefer not to depend on the Unix
module, but I can't find similar functionality with the standard in_channels
and seek_in.  Am I missing something, or must I use the Unix module?

Thanks,
Jeremy
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr