Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!gatech!gt-news!prism!prism!not-for-mail From: gt4384a@prism.gatech.edu (Matthew W. Culbreth) Newsgroups: comp.os.386bsd.development Subject: Writing serial comm programs in FreeBSD 1.1.5 Date: 22 Sep 1994 09:05:59 -0400 Organization: Georgia Institute of Technology Lines: 17 Sender: gt4384a@prism.gatech.edu Message-ID: <35rvfn$i94@acmex.gatech.edu> NNTP-Posting-Host: acmex.gatech.edu Hello, I'd like to start writing a serial comm program in FreeBSD 1.1.5. I know that if you do this in DOS, you deal with some software interrupts to read any data out of the incoming character buffer. How would I do this in FreeBSD? Are there a set of system calls that I haven't found that allow me to catch interrupts from the system? Or do I deal strictly with the stream devices? If so, how do I know when a character is waiting to be read? Thanks a bunch for any help! Matt