Is showing all attributes for RS232 port possible in FreeBSD?

Peter Jeremy peterjeremy at optushome.com.au
Sat Apr 22 11:44:22 UTC 2006


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


More information about the freebsd-hackers mailing list