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!burl!ulysses!allegra!mit-eddie!godot!harvard!seismo!brl-tgr!gwyn
From: gwyn@brl-tgr.ARPA (Doug Gwyn )
Newsgroups: net.unix-wizards
Subject: Re: proper recovery from EINTR
Message-ID: <6405@brl-tgr.ARPA>
Date: Thu, 6-Dec-84 15:19:28 EST
Article-I.D.: brl-tgr.6405
Posted: Thu Dec  6 15:19:28 1984
Date-Received: Sat, 8-Dec-84 06:55:33 EST
References: <127@anasazi.UUCP>
Distribution: net
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!