From owner-freebsd-questions Wed Jan 15 2:25:31 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E0D937B401 for ; Wed, 15 Jan 2003 02:25:30 -0800 (PST) Received: from cwe.compwest.com.au (compwest.com.au [202.72.147.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id E492243F6B for ; Wed, 15 Jan 2003 02:25:28 -0800 (PST) (envelope-from paul@compwest.com.au) Received: from wks (ant.parkview.compwest.com.au [202.72.147.43]) by cwe.compwest.com.au (8.11.6/8.11.6) with SMTP id h0FAPOr20622 for ; Wed, 15 Jan 2003 18:25:24 +0800 (WST) (envelope-from paul@compwest.com.au) From: "Paul Hamilton" To: Subject: How do I monitor the serial CTS line via C programmatically? Date: Wed, 15 Jan 2003 18:26:32 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have been trying to monitor the serial CTS line. I would like to log the fact that the CTS has changed state (active/non-active). I have been trying to adapt some Linux programs, but am having problems with adapting the POSIX TIOCMGET function. Is there a FreeBSD way? Cheers, Paul Hamilton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message