LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-23-2004, 03:52 AM   #1
perdesiz
Member
 
Registered: Aug 2003
Location: Turkey
Posts: 88

Rep: Reputation: 15
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?
 
Old 01-23-2004, 04:59 AM   #2
drws
Member
 
Registered: Jan 2004
Posts: 30

Rep: Reputation: 15
on hp-ux 11 I've got...

INTERFACE Built-in RS232C = /dev/tty0p0

but it could be different again in IRIX, AIX etc.
 
Old 01-23-2004, 05:07 AM   #3
perdesiz
Member
 
Registered: Aug 2003
Location: Turkey
Posts: 88

Original Poster
Rep: Reputation: 15
thanx

thak you !But I am still working on it)
 
Old 01-23-2004, 05:43 AM   #4
andrewlkho
Member
 
Registered: Jul 2003
Location: London
Posts: 548

Rep: Reputation: 30
I'm thinking the guys in the programming forum might be more helpful....
 
Old 01-23-2004, 06:13 AM   #5
perdesiz
Member
 
Registered: Aug 2003
Location: Turkey
Posts: 88

Original Poster
Rep: Reputation: 15
thanx

thak you for your advice.I will check it out
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
unix compatiblity perdesiz Solaris / OpenSolaris 2 02-04-2004 04:37 AM
Mandrake and Debian compatiblity inkysplat Linux - General 4 01-10-2004 08:46 AM
partition format with windows compatiblity jpc82 Linux - General 4 10-11-2003 09:29 PM
Video Card compatiblity? bobb Linux - General 4 07-28-2001 04:59 AM
Linux Compatiblity with Dell Dimesion L andyn Linux - General 3 07-12-2001 10:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration