where to find these kind of code.

I am now working under QNX4.25,when I want to get data from serial_port,but
I don’t know how to initial the serial_port
(8 bit data ,1 bit stop,9600baud_rate,),where can I find some examples about
this kind operation?thanks!

“jgp” <gpjin@nairc.ac.cn> wrote in message news:9ts8en$fsh$1@inn.qnx.com

I am now working under QNX4.25,when I want to get data from
serial_port,but
I don’t know how to initial the serial_port
(8 bit data ,1 bit stop,9600baud_rate,),where can I find some examples
about
this kind operation?thanks!

take a look at tcgetattr()/tcsetattr() functions from termions.h.

// wbr