A wrapper around safe_rw() that handles advancing the pointer through the buffer, calling safe_rw() until the requested COUNT bytes have been sent/received.
--
In most cases, I recommend avoiding all of this and using the existing fopen/fread/fwrite/etc buffered I/O interface.
safe_rw() http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=li...
This handles a single read/write, handles EINTER, and returns the amount that was successfully read/written.
full_rw() http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=li...
A wrapper around safe_rw() that handles advancing the pointer through the buffer, calling safe_rw() until the requested COUNT bytes have been sent/received.
--
In most cases, I recommend avoiding all of this and using the existing fopen/fread/fwrite/etc buffered I/O interface.