Article View: comp.os.os2.programmer
Article #2195serial port
From: Mike Mills
Date: Wed, 30 Sep 1992 03:56
Date: Wed, 30 Sep 1992 03:56
21 lines
1234 bytes
1234 bytes
Hello,
I've got this fancy fax modem that also does caller ID. I'd like to write
a program that would sit in the background watching the serial port, saving
any caller ID information that goes by. The problem is that I'm also running
uucp, which will periodically need to open the serial port to do its thing.
Now, is there any way for a program to "transparently" open the serial port,
so that other programs like uucp and terminal programs can still use it?
Or, is there any way to open the serial port such that if another process
attempts to open it, the first will temporarily give it up until the second
releases it? Any signal()'s along these lines?
thanks for any information -- i'm new to os/2 programming.
--
--Mike Mills E-Mail: sam@ms.uky.edu, {rutgers, uunet}!ukma!sam
--UK Math Sciences Dept. mike@ukpr.uky.edu
--(606) 257-1429 (work) 263-0721 (home)
Technical Details
Message-ID:
<1992Sep29.235658.26327@ms.uky.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rutgers!ukma!samShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!rutgers!ukma!sam From: sam@ms.uky.edu (Mike Mills) Newsgroups: comp.os.os2.programmer Subject: serial port Message-ID: <1992Sep29.235658.26327@ms.uky.edu> Date: 30 Sep 92 03:56:58 GMT Organization: University Of Kentucky, Dept. of Math Sciences Lines: 21