atom feed4 messages in org.freebsd.freebsd-hackersIs showing all attributes for RS232 p...
FromSent OnAttachments
Garrett CooperApr 22, 2006 11:25 am 
Peter JeremyApr 22, 2006 11:44 am 
Garrett CooperApr 22, 2006 4:34 pm 
M. Warner LoshApr 22, 2006 8:49 pm 
Subject:Is showing all attributes for RS232 port possible in FreeBSD?
From:Peter Jeremy (pete@optushome.com.au)
Date:Apr 22, 2006 11:44:07 am
List:org.freebsd.freebsd-hackers

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.