I have character device /dev/nvram and through program I want to check it.
One guy asked to check the st_mode field of the struct stat structure aganist S_ISCHR macro. But I didnt understood this information. Can some one help with some sample programs.
I have character device /dev/nvram and through program I want to check it. One
Share
How about this: