May 27, 2014
1:09 p.m.
Wow, many thanks. So the read operation should return the total number of bytes, not a true/false int. I need to read more about this operations. Thanks -- Lucas Tanure +55 (19) 988176559 On Tue, May 27, 2014 at 10:05 AM, Bjørn Mork <bjorn@mork.no> wrote:
Lucas Tanure <tanure@linux.com> writes:
So, My misc_drv_read returns 0, and it's ok. So why the command head didn't get the string ?
You told it that it got a string with length 0. And that's what it printed.
Bjørn