what is/how can i find the serial/parallel port addr in qnx?

i am trying to find the serial port address in qnx or is there another way i can send/receive data with c programming.

my goal is to make a simple program to send some data through my first serial port but i need to know how to do this

i also want to know the address of the serial ports so i can use them within assembly language

thanks in advance
–tempqnx

you can use ps - Ao pid ,args

Why would you need assembly language, is so much nicher to do it in C ;-)

fd = open()
write( fd, buffer, bufsize);
close(fd);