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 OAA19277; Fri, 19 Oct 2001 14:09:38 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA22663 for caml-list@pauillac.inria.fr; Fri, 19 Oct 2001 14:09:38 +0200 (MET DST) Received: (from xleroy@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA22462; Fri, 19 Oct 2001 13:52:50 +0200 (MET DST) Date: Fri, 19 Oct 2001 13:52:50 +0200 From: Xavier Leroy To: "Rafael 'Dido' Sevilla" Cc: Caml List Subject: Re: [Caml-list] Serial port programming in OCaml? Message-ID: <20011019135250.A22174@pauillac.inria.fr> References: <20011019172009.A12034@team.ph.inter.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <20011019172009.A12034@team.ph.inter.net>; from sevillar@team.ph.inter.net on Fri, Oct 19, 2001 at 05:20:09PM +0800 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > Just wondering, does a library of functions for doing serial port I/O in > Objective Caml already exist? Under Unix, the Unix.tcsetattr / Unix.tcgetattr functions let you control most parameters of the serial port; you then use Unix.read and Unix.write as usual to do the actual I/O. Under other OSes, you'll need a bit of C code to set the parameters of the serial port. - Xavier Leroy ------------------- 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