Return to BSD News archive
Xref: sserve comp.os.386bsd.development:3291 comp.os.linux.development:23957 comp.os.linux.development.apps:1107 comp.os.minix:24550 Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!ihnp4.ucsd.edu!swrinde!cs.utexas.edu!not-for-mail From: tom_morrison@milacron.com (Tom Morrison) Newsgroups: comp.os.386bsd.development,comp.os.linux.development,comp.os.linux.development.apps,comp.os.minix Subject: Serial Communications in "UNIX" apps. Date: 9 Mar 1995 13:26:21 -0600 Organization: UTexas Mail-to-News Gateway Lines: 13 Sender: nobody@cs.utexas.edu Message-ID: <Hh49+4NpLja@cmoak7.milacron.com> NNTP-Posting-Host: news.cs.utexas.edu Please don't flame me for asking a neophyte question, but I have a system running a flavor of UNIX System V on which I need to write a program that communicates via serial communications. I've written a bit of C code on UNIX systems in the past but never involving communications. I need some quick pointers on what it takes to setup a serial port (baud rate, stop bit, parity, etc.), send data out the port, watch for data to come in the port, and close the port when I'm finished. Is this a straightforward and somewhat standard task in UNIX? Are there particular man pages I should check for the functions required? I'd greatly appreciate any short pointers someone might give me on the subject. Thanks! Tom_Morrison@Milacron.com