From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id VAA13545; Fri, 6 Jun 2003 21:39:05 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id VAA12926 for ; Fri, 6 Jun 2003 21:39:04 +0200 (MET DST) Received: from nef.ens.fr (nef.ens.fr [129.199.96.32]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h56Jd3H04795 for ; Fri, 6 Jun 2003 21:39:03 +0200 (MET DST) Received: from clipper.ens.fr (clipper-gw.ens.fr [129.199.1.22]) by nef.ens.fr (8.12.9/1.01.28121999) with ESMTP id h56Jd3Ov011528 for ; Fri, 6 Jun 2003 21:39:03 +0200 (CEST) Received: from (george@localhost) by clipper.ens.fr (8.12.3/jb-1.1) Date: Fri, 6 Jun 2003 21:39:03 +0200 From: Nicolas George To: caml-list@inria.fr Subject: [Caml-list] UNIX_BUFFER_SIZE Message-ID: <20030606193903.GA28852@clipper.ens.fr> Reply-To: caml-list@inria.fr Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline User-Agent: Mutt/1.4 X-Spam: no; 0.00; buffer:01 nntp:01 nicolas:01 eof:02 unix:02 data:03 recv:04 buffers:05 programmers:06 send:93 ens:06 requested:88 U6:88 U4:88 crash:13 X-Attachments: type="application/pgp-signature" Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable May I suggest that the documentation for Unix.read, Unix.write, Unix.send and Unix.recv will not handle more than UNIX_BUFFER_SIZE =3D=3D 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. --=20 :'-( NNTP Yaf did crash today because of that --SUOF0GtieIMvvwua Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (SunOS) iD8DBQE+4O3WsGPZlzblTJMRArQYAJ4+CJP7JuooOGehpQOfg3aAYJ6QegCggWGz zZMjhuF6SIiUjaMFJJb1XQQ= =nzRB -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua-- ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners