Re: Is showing all attributes for RS232 port possible in FreeBSD?



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.

--
Peter Jeremy
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"