EmbLogic's Blog

Author Archives: Sanny Singh

How to Write a Writer Routine.

In the char driver We write the Write Routine.  This write routine is mapped in struct file operations . We use copy_from_user macro. this macro has three arguments. first is void* to second is const  void* __user form and last … Continue reading

Posted in Character Driver | Leave a comment

Data Structures With C

In data structure padding some allocate space is free this case is called is padding. Like a example is as as the structure we take three variable that is int,char,float. This is structure allocate 12 byte space. At the architecture … Continue reading

Posted in Data Structures with C | Leave a comment