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
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-06-06 (19:39)
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