[svlug] Linux C Programming

Robert Hajime Lanning lanning at kewltech.com
Tue Nov 9 10:40:32 PST 1999


Get this book:  (Yes it works for Linux.)

"Advanced Programming in the UNIX Environment", W. Richard Stevens
Addison-Wesley, ISBN 0-201-56317-7

---- As written by John J. Cruz:
> 
> I'm converting an old C program that has successfully run on a XTPC. I
> wrote it in MS Quick C and used an external Serial Port Library. This
> program allowed me to interface with a Motorola 68HC11 evaluation board
> via the com2 serial port.  I now want to convert this MS C program to
> the Linux/Unix environment.
> 
> I lack detail information on using the device file for serial port 2.  I
> do know that I should use function ioctl to configured the port but do
> not know what parameters or range of values to use or for that matter
> what include files to use.  Can I use open() to read and write to
> port2?  Since Im using RH6.0, what is the correct nomenclature for com2
> port?
> 
> Can you folks recommend a source of practical information.
> 
> jjc

-- 
Robert Hajime Lanning                           Informix Software, Inc.
Senior Unix System Administrator                4100 Bohannon Dr.
Voice: 1(650) 926-6863                          Menlo Park, CA 94025, USA
Fax:   1(650) 926-6089                          lanning at informix.com

--
echo "unsubscribe svlug" | mail majordomo at svlug.org
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ to unsubscribe
see http://www.svlug.org/mdstuff/lists.shtml for posting guidelines.



More information about the svlug mailing list