I successfully extract and change the environment variable using getenv() and putenv().also complete the syslog for log entries and and setlogmask….
I create the scull of item size 12 Bytes(qset=3,quantum=4), in that when i perform write operation only first 12 bytes are write and remaining are discarded means only one item wrote and item size is not increased. I am confusing … Continue reading
I have done register, unregister the character driver successfully and also open & release the character driver successfully. In this i am facing the problem regarding to container_of().
local_dev=container_of(inode->i_cdev, struct scull_dev,cdev1); in above function, i don’t know how container_of() give the minor number and also how assign global device to local device.