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
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"