Archive Index
This month's Index
|
Subject: About simple examples
About simple examples
From: Jean-Louis CHARTON <Jean-Louis.CHARTON_at_oikialog.com>
Date: Wed, 1 Apr 2009 14:41:51 +0200
Hi,
There's something in the examples that sounds strange to me.
In the write loop of some non blocking examples, we have:
do {
ptr = mem;
do {
ptr += rc;
In the inner do while loop, shouldn't it be:
ptr += rc;
instead of this curious:
ptr += rc;
=> after this; nread is always 0 (right ?) and if rc returned by
Other question:
JL
------------------------------------------------------------------------------
|