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] 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: 2001-09-05 (13:38)
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?

Bug reports:  FAQ:
To unsubscribe, mail  Archives: