English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 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