Serial port

I want to develop an application wich can send and receive information using the serial port, but I don’t find any function to do that in C, because I normally used outp and inp, but these functions dont’t exist in QNX …

Yes these function exist, they just have a different name, it’s in8 and out8 or in16 and out16.

That being said. It’s usually a better practice to use the serial port functionnality instead and ensure portability. To do that you would use something like

fd = open ("/dev/ser1");
read(fd…)
write(fd…)
close(fd);

There are other function to help setup serial port operational mode like tcsetattr and tcgetattr .

Have fun!