what is the user space header file for mtdchar.c kernel driver
I'm trying to access char device with mtdchar.c driver from user space. I'm not able to find the header file for that to use in the user space program.
VK
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
Contact your Administrator for further information.
What exactly do you want to do with mtdchar??
To access char driver you need to use dev file /dev/mtdchar, it doesn't need any header file.
--Vinit.
Quoted 17 lines · vishalk
I'm trying to access char device with
mtdchar.cdriver from user space. I'm not able to find the header file for that to use in the user space program.VK
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.
Contact your Administrator for further information.
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
Signature · 3 lines
Life is so short. So, follow some rules. Forgive quickly, believe slowly, love truly, laugh loudly & never avoid anything that makes U smile.
Quoted 3 lines · Vinit Agnihotri
What exactly do you want to do with mtdchar??
To access char driver you need to use dev file/dev/mtdchar, it doesn't need any header file.
Actually, to use the dev file's ioctls, you really do need a copy of <mtd/mtd-user.h> and <mtd/mtd-abi.h>.
They are in the Linux kernel source tree under linux/include/mtd/, and also in the flash utilities under include/mtd/.
-- Jamie