Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: John Gerard Malecki <johnm@vlibs.com>
To: caml-list@pauillac.inria.fr
Subject: Calling ioctl_ptr
Date: Thu, 29 Feb 1996 12:19:36 -0800 (PST)	[thread overview]
Message-ID: <199602292019.MAA03081@owl.vlibs.com> (raw)


Bonjour,

I need to explicitly manipulate modem/rs-232 control lines on a 32 bit
sun-0s4.1 system.  I was going to invoke ioctl_ptr to do the job.

The first argument to ioctl_ptr is an int.  The bits which determine a
modem control line request are 30 and 31.  Is there a trick I can use
to set only bit 30 and not 31 and vice-versa?

If no trick is available I will write my own
	ioctlx_ptr: file_descr -> string -> string -> int

-cheers





             reply	other threads:[~1996-03-01  9:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-02-29 20:19 John Gerard Malecki [this message]
1996-03-04 20:32 ` Xavier Leroy

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=199602292019.MAA03081@owl.vlibs.com \
    --to=johnm@vlibs.com \
    --cc=caml-list@pauillac.inria.fr \
    /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