login
Header Space

 
 

termios, setting stopbits question

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <misc@...>
Date: Thursday, October 4, 2007 - 4:05 am

Hi guys!

I'm adding serial port support to my ``netfwd''
(http://www.bsdua.org/netfwd.html) and faced a problem.

How is it possible to set 1.5 stopbits in tcsetattr(3) ?
The only thing that i found related to stopbits is CSTOPB (2 stopbits). But iirc
5 databits can be used in conjunction with 1 or 1.5 stopbits.

Thanks in advance.

-- 
Alexey Vatchenko
http://www.bsdua.org
E-mail: avv@mail.zp.ua
JID: alex.vatchenko@gmail.com
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
termios, setting stopbits question, Alexey Vatchenko, (Thu Oct 4, 4:05 am)
speck-geostationary