Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* Calling ioctl_ptr
@ 1996-02-29 20:19 John Gerard Malecki
  1996-03-04 20:32 ` Xavier Leroy
  0 siblings, 1 reply; 2+ messages in thread
From: John Gerard Malecki @ 1996-02-29 20:19 UTC (permalink / raw)
  To: caml-list


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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1996-03-05 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-29 20:19 Calling ioctl_ptr John Gerard Malecki
1996-03-04 20:32 ` Xavier Leroy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox