How do you change RTS from C code

Hi.

I would like to toggle RTS from C code. Can this be done?

I don’t want to use system() and stty to do this, if I don’t have to.

Thanks

Augie

Try qnx_ioctl().

I am using that function and the RTS line to control a transmitter. (You’ll
have to dig through the sys/qioctl.h header to figure out how to set up the
arguments)

“Augie Henriques” <augiehenriques@hotmail.com> wrote in message
news:98isr4$sjp$1@inn.qnx.com

Hi.

I would like to toggle RTS from C code. Can this be done?

I don’t want to use system() and stty to do this, if I don’t have to.

Thanks

Augie