Date: Sat, 22 Apr 2006 09:34:54 -0700 From: Garrett Cooper <youshi10@u.washington.edu> To: Peter Jeremy <peterjeremy@optushome.com.au>, freebsd-hackers@freebsd.org Subject: Re: Is showing all attributes for RS232 port possible in FreeBSD? Message-ID: <444A5B2E.5050307@u.washington.edu> In-Reply-To: <20060422114418.GD720@turion.vk2pj.dyndns.org> References: <4B29E098-F409-490F-86F1-380CFE1165FC@u.washington.edu> <20060422114418.GD720@turion.vk2pj.dyndns.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444A5B2E.5050307>