Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!agate!stanford.edu!neon.Stanford.EDU!Gang-of-Four!dkeisen From: dkeisen@Gang-of-Four.Stanford.EDU (Dave Eisen) Newsgroups: comp.unix.questions Subject: Re: signal & slow devices Message-ID: <1991Apr3.162105.13879@neon.Stanford.EDU> Date: 3 Apr 91 16:21:05 GMT References: <26437@adm.brl.mil> Sender: news@neon.Stanford.EDU (USENET News System) Organization: Sequoia Peripherals Lines: 17 In article <26437@adm.brl.mil> wolf@grasp1.univ-lyon1.fr (Christophe Wolfhugel) writes: > >In the cas of a write, can I be sure that in case I get a -1 return code >*none* of the buffer has been sent to the device.? > Yes. It is not an error if anything at all was actually written to the device. If you tried to write 2000 bytes and only 3 were written, write will return 3. -- Dave Eisen 1101 San Antonio Rd. Suite 102 Mountain View, CA 94043 (415) 967-5644 dkeisen@Gang-of-Four.Stanford.EDU (for now)