<div>Hi all,</div><div><br></div><div>loop_read/write will try to fill/read 'nbytes' of caller supplying buffer. This argument is currently of type size_t, which is always true</div><div>for loop quit condition "while (nbytes > 0)", hence we change it to type ssize_t here. This also helps to detect passed-in 'nbytes' of value -1</div>
<div>for example.</div><div><br></div><br clear="all"><br><div><br>-- <br>Regards,<div><br><div>- cee1</div></div><br>
</div>