English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    
Browse thread
[Caml-list] UNIX_BUFFER_SIZE
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas George <nicolas.george@e...>
Subject: [Caml-list] UNIX_BUFFER_SIZE
May I suggest that the documentation for Unix.read, Unix.write,
Unix.send and Unix.recv will not handle more than UNIX_BUFFER_SIZE ==
16kb at once?

I know it is a mistake to assume that a single call will read or write
as much data as requested even on regular files far from EOF (but most
of the time, that workd!), but this may also prevent programmers from
trying to have larger buffers.

-- 
  :'-( NNTP Yaf did crash today because of that