>-----Original Message-----
>From: [EMAIL PROTECTED]
>To: Alexander Maret
>Cc: '[EMAIL PROTECTED]'
>Sent: 19.10.00 15:30
>Subject: Re: How to sense DCD on serial port?
>
>
>
>> 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.

Thanks for your answer. I meanwhile tried TIOCMGET and I can
sense the state of dcd. Unfortunately I can't continously check
DCD because this takes ernormous cpu time. Is there a possibility
to get a signal,intr or whatever, whenever the state of DCD changes?
If not, what could you think of I have to do to implement such
a feature?

Alex


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to