From: Xavier Leroy <xleroy@pauillac.inria.fr>
To: "Rafael 'Dido' Sevilla" <sevillar@team.ph.inter.net>
Cc: Caml List <caml-list@pauillac.inria.fr>
Subject: Re: [Caml-list] Serial port programming in OCaml?
Date: Fri, 19 Oct 2001 13:52:50 +0200 [thread overview]
Message-ID: <20011019135250.A22174@pauillac.inria.fr> (raw)
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
> 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
prev parent reply other threads:[~2001-10-19 12:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-19 9:20 Rafael 'Dido' Sevilla
2001-10-19 11:52 ` Xavier Leroy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011019135250.A22174@pauillac.inria.fr \
--to=xleroy@pauillac.inria.fr \
--cc=caml-list@pauillac.inria.fr \
--cc=sevillar@team.ph.inter.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox