Line Discipline or Termios lacks ?

Joel Sherrill joel.sherrill at OARcorp.com
Thu Sep 18 18:13:47 UTC 2003


Sergei Organov wrote:

> Brett Swimley <brett.swimley at aedinc.net> writes:
> 
>>Joel Sherrill wrote:
> 
> [...]
> 
>>>Also I have searched a bit and not managaed to find a standard
>>>way of doing this function.  If there is a way on *BSD or Linux
>>>to do this, it would be nice to use those names for the IOCTLS
>>>and possibly add them to the standard list.
>>
>>I researched this a ways back and think I discarded my notes. I just did a
>>quick search and found that Linux accomplishes this through the TIOCMGET and
>>TIOCMSET ioctls. IIRC, this is what I found way back when. Don't know if *BSD
>>has similar functionality.
> 
> 
> I believe it does. Solaris does as well. In addition, there are often
> forgotten TIOCSBRK/TIOCCBRK ioctls to manage TxD line (very handy when one
> needs to emulate synchronous protocol with UART;) ).

Are those primitive versions of tcsendbreak()?

> BR,
> Sergei.
> 


-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel at OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985




More information about the users mailing list