Home › Forums › C Programming › How this code works?
- This topic has 6 replies, 2 voices, and was last updated 16 years, 5 months ago by varsha narwale.
Viewing 6 reply threads
- AuthorPosts
- April 19, 2008 at 9:06 pm #2093varsha narwaleParticipant
I need to know how this code works?
1234567891011121314<br />struct usb_driver {<br />const char *name;<br />void * (*probe)(struct usb_device *, unsigned int,<br />const struct usb_device_id *id_table);<br />void (*disconnect)(struct usb_device *, void *);<br />struct list_head driver_list;<br />struct file_operations *fops;<br />int minor;<br />struct semaphore serialize;<br />int (*ioctl) (struct usb_device *dev, unsigned int code,<br />void *buf);<br />const struct usb_device_id *id_table;<br />it’s a USB driver structure in linux.
please i need help so fast.
thanks in advance - May 6, 2008 at 8:52 pm #3378varsha narwaleParticipant
why no one has answered me.
- May 12, 2008 at 5:36 am #3379AdetutuParticipant
This is simple a structure. What type of help you are looking for?
This is simple structure with some pointer notation. Tell your exact problem. - May 14, 2008 at 7:20 am #3380varsha narwaleParticipant
I want to know by a simple explanation how can i understand this code(i have a problem with pointers) and make a program do something like that.
thanks in advance - May 15, 2008 at 12:56 am #3381AdetutuParticipant
Most welcome at any time dude
- May 27, 2008 at 11:37 am #3382varsha narwaleParticipant
I have come back and I think that I need your help quickly, please.
thanks - May 28, 2008 at 9:45 pm #3383varsha narwaleParticipant
Hey,I’m waiting.
- AuthorPosts
Viewing 6 reply threads
- The forum ‘C Programming’ is closed to new topics and replies.