home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.wizards
- Path: sparky!uunet!sun-barr!decwrl!pa.dec.com!decprl!decprl!boyd
- From: boyd@prl.dec.com (Boyd Roberts)
- Subject: Re: ptys and other pipe-like devices
- Message-ID: <1992Jul29.192000.4885@prl.dec.com>
- Sender: news@prl.dec.com (USENET News System)
- Nntp-Posting-Host: prl313.prl.dec.com
- Organization: Digital Equipment Corporation - Paris Research Laboratory
- References: <1992Jul24.014111.3578@manitou.cse.dnd.ca>
- Date: Wed, 29 Jul 1992 19:20:00 GMT
- Lines: 19
-
- In article <1992Jul24.014111.3578@manitou.cse.dnd.ca>, pburry@manitou.cse.dnd.ca (Paul Burry) writes:
- > I have an application that would like to make 16k non-interruptable writes
- > to a pty device.
-
- 16k write down a pty. Yeah, right, what _are_ you trying to do?
-
- What about signal(2)?
-
-
- oldsig = signal(SIG-to-be-avoided, SIG_IGN);
-
- write(...);
-
- signal(SIG-to-be-avoided, oldsig);
-
-
- Boyd Roberts boyd@prl.dec.com
-
- ``When the going gets wierd, the weird turn pro...''
-