Results 1 to 2 of 2
i found DECLRATION of file structure operations in kernel/fs/fs.h
there all operations are defined as "extern" where are they implemented..
as where can i find their defination???...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-07-2007 #1Just Joined!
- Join Date
- Nov 2006
- Posts
- 8
where are file structure operations defined??
i found DECLRATION of file structure operations in kernel/fs/fs.h
there all operations are defined as "extern" where are they implemented..
as where can i find their defination???
- 04-09-2007 #2Just Joined!
- Join Date
- Aug 2006
- Location
- india
- Posts
- 57
hi ,
I am learning how to write device drivers,I found the use of file structure in order to map application level kernel interfaces like open,read,write,ioctl to the driver functions .
they r just function pointers
filestructure={
open:open_device, //see here it will be like this mapping open to device open
write:write_device
}
write_device is a function we r going to use to write to the device


Reply With Quote
