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@xxxxxxx> wrote:
Lucas Tanure <tanure@xxxxxxxxx> writes:You told it that it got a string with length 0. And that's what it printed.
> So, My misc_drv_read returns 0, and it's ok. So why the command head didn't
> get the string ?
Bjørn
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies