LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   unix compatiblity (https://www.linuxquestions.org/questions/linux-software-2/unix-compatiblity-137718/)

perdesiz 01-23-2004 02:52 AM

unix compatiblity
 
I wrote a c code on linux platform. The code communicates with a specific device via serial port with RS232 protocol. How can I adjust the program as it can be used on UNIX as well? For example the serial port device can be reached by /dev/ttyS0 in linux,
but what is the situation in UNIX?

drws 01-23-2004 03:59 AM

on hp-ux 11 I've got...

INTERFACE Built-in RS232C = /dev/tty0p0

but it could be different again in IRIX, AIX etc.

perdesiz 01-23-2004 04:07 AM

thanx
 
thak you !But I am still working on it:))

andrewlkho 01-23-2004 04:43 AM

I'm thinking the guys in the programming forum might be more helpful....

perdesiz 01-23-2004 05:13 AM

thanx
 
thak you for your advice.I will check it out


All times are GMT -5. The time now is 08:18 AM.