From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.6.10/8.6.6) id KAA06959 for caml-redistribution; Fri, 1 Mar 1996 10:26:51 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.6.10/8.6.6) with ESMTP id VAA28649 for ; Thu, 29 Feb 1996 21:30:38 +0100 Received: from netcomsv.netcom.com (uucp11.netcom.com [163.179.3.11]) by concorde.inria.fr (8.7.1/8.7.1) with SMTP id VAA15755 for ; Thu, 29 Feb 1996 21:30:35 +0100 (MET) Received: by netcomsv.netcom.com with UUCP (8.6.12/SMI-4.1) id MAA10994; Thu, 29 Feb 1996 12:23:05 -0800 Received: from owl.vlibs.com (owl.vlibs.com [192.149.105.6]) by pup.vlibs.com (8.7.3/8.7.3) with ESMTP id MAA02414 for ; Thu, 29 Feb 1996 12:19:36 -0800 (PST) Received: (from johnm@localhost) by owl.vlibs.com (8.7.3/8.7.3) id MAA03081; Thu, 29 Feb 1996 12:19:36 -0800 (PST) Date: Thu, 29 Feb 1996 12:19:36 -0800 (PST) From: John Gerard Malecki Message-Id: <199602292019.MAA03081@owl.vlibs.com> To: caml-list@pauillac.inria.fr Subject: Calling ioctl_ptr Organization: VLSI Libraries Incorporated Sender: weis 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