The 4.3 BSD awrite() solution

Peter da Silva peter at ficc.uu.net
Tue Feb 13 09:40:35 AEST 1990


In article <131606 at sun.Eng.Sun.COM> lm at sun.UUCP (Larry McVoy) writes:
> So let's consider your stuff again.  You claim that you've implemented
> awrite().  So what's awrite()?

awrite(fd, buf, n) initiates a write of n bytes from buf, returning
immediately. It returns some token that you can use to tell when the
write is complete and get the number of bytes actually written. You also
need to be able to wait on completion, and a close would implicitly
perform such a wait.
-- 
 _--_|\  Peter da Silva. +1 713 274 5180. <peter at ficc.uu.net>.
/      \
\_.--._/ Xenix Support -- it's not just a job, it's an adventure!
      v  "Have you hugged your wolf today?" `-_-'



More information about the Comp.unix.wizards mailing list