Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Oct 2000 23:30:21 +1000 (EST)
From:      andrew@ugh.net.au
To:        Alexander Maret <maret@atrada.net>
Cc:        "'freebsd-hackers@freebsd.org'" <freebsd-hackers@freebsd.org>
Subject:   Re: How to sense DCD on serial port?
Message-ID:  <Pine.BSF.4.21.0010192328510.55917-100000@starbug.ugh.net.au>
In-Reply-To: <58A002A02C5ED311812E0050044517F00D2608@erlangen01.atrada.de>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 19 Oct 2000, Alexander Maret wrote:

> How can I sense the state of the DCD line that quick? I

I'm not sure how quick it is but have you tried ioctl with an argument of
TIOCMGET? See tty(4) for more details.

Andrew



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010192328510.55917-100000>