signal & slow devices

Dave Eisen dkeisen at Gang-of-Four.Stanford.EDU
Thu Apr 4 02:21:05 AEST 1991


In article <26437 at adm.brl.mil> wolf at 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 at Gang-of-Four.Stanford.EDU (for now)



More information about the Comp.unix.questions mailing list