Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA Path: utzoo!watmath!clyde!bonnie!akgua!sdcsvax!sdcrdcf!hplabs!hao!seismo!brl-tgr!tgr!gwyn@BRL-TGR.ARPA From: gwyn@BRL-TGR.ARPA Newsgroups: net.unix-wizards Subject: Re: proper recovery from EINTR Message-ID: <6585@brl-tgr.ARPA> Date: Mon, 10-Dec-84 00:08:15 EST Article-I.D.: brl-tgr.6585 Posted: Mon Dec 10 00:08:15 1984 Date-Received: Wed, 12-Dec-84 05:44:05 EST Sender: news@brl-tgr.ARPA Organization: Ballistic Research Lab Lines: 7 > The problem is to write two functions v_read and v_write which behave > like the UNIX system calls read and write, except that they work "properly" > on a slow device while (unrelated) signals are being caught. On 4.2BSD, you could block signals during a read() or write() without losing them. This would be MUCH better than character-at-a-time I/O system calls!