Is showing all attributes for RS232 port possible in FreeBSD?
Garrett Cooper
youshi10 at u.washington.edu
Sat Apr 22 16:34:55 UTC 2006
Peter Jeremy wrote:
> On Sat, 2006-Apr-22 04:28:30 -0700, Garrett Cooper wrote:
>
>> I was just wondering if there was any way where I could program with
>> C, such that I could view information regarding the extra pins on a
>> DB9 serial port other than just TXD and RXD, ie the DTS, CD, CTS,...
>> etc ports.
>>
>
> Look in tty(4), specifically TIOCMSET, TIOCMGET, TIOCMBIS, TIOCMBIC.
Brilliant! That's exactly what I was looking for.
Thanks!
-Garrett
More information about the freebsd-hackers
mailing list