LIBIO question

Etienne Fortin etienne.fortin at
Wed Sep 15 17:48:26 UTC 2004

Hi there,
Let's say I have the following line of code somewhere in my App:

	fwrite(fd, 1, 10, buf);

Let's say also that the 10 bytes to send are divided into 2 write to the
driver, each of 5 bytes. The driver will then be called 2 times with a
buffer of size 5 each time.

Question: At the first call to the driver's write function with the 5
first bytes, is there a way to know that there's still 5 other bytes
waiting in the queue to be sent and that the write function will be
called again?

Etienne Fortin

More information about the users mailing list