[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
LIBIO question
- Date: Wed, 15 Sep 2004 13:48:26 -0400
- From: etienne.fortin at sensio.tv (Etienne Fortin)
- Subject: LIBIO question
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
Sensio
- Follow-Ups:
- LIBIO question
- From: joel.sherrill at OARcorp.com (Joel Sherrill <joel at OARcorp dot com>)