[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2001-10-19 (12:09) |
From: | Xavier Leroy <xleroy@p...> |
Subject: | Re: [Caml-list] Serial port programming in OCaml? |
> 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