<div dir="ltr">Wow, many thanks. <div>So the read operation should return the total number of bytes, not a true/false int. </div><div><br></div><div>I need to read more about this operations. </div><div><br></div><div>Thanks</div>
</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>--</div>Lucas Tanure <br>+55 (19) 988176559<br></div></div>
<br><br><div class="gmail_quote">On Tue, May 27, 2014 at 10:05 AM, Bjørn Mork <span dir="ltr"><<a href="mailto:bjorn@mork.no" target="_blank">bjorn@mork.no</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">Lucas Tanure <<a href="mailto:tanure@linux.com">tanure@linux.com</a>> writes:<br>
<br>
> So, My misc_drv_read returns 0, and it's ok. So why the command head didn't<br>
> get the string ?<br>
<br>
</div>You told it that it got a string with length 0. And that's what it printed.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
Bjørn<br>
</font></span></blockquote></div><br></div>