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
Re: [Caml-list] Unix.lseek versus Pervasives.pos
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Xavier Leroy <xavier.leroy@i...>
Subject: Re: [Caml-list] Unix.lseek versus Pervasives.pos
> It would seem to me that it would be convenient to have 64 bit versions 
> of seek_in, seek_out, pos_in, pos_out in the Pervasives module. This 
> would help decouple the Pervasives I/O module a little more from the 
> Unix module.

You wish was granted in OCaml 3.05 and 3.06: module Pervasives.LargeFile.

And, yes, not mixing Pervasives I/O with Unix I/O is recommended,
unless you enjoy puzzles :-)

- Xavier Leroy

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