0

Possible Duplicate:
What does dot (.) mean in a struct initializer?

I have the following structure in which the variables are prefixed with ".". Please kindly help me understand the significance of "."

static struct usb_driver skel_driver = {
    .name = "skeleton",
    .probe = skel_probe,
    .disconnect = skel_disconnect,
    .fops = &skel_fops,
    .minor = USB_SKEL_MINOR_BASE,
    .id_table = skel_table,
};
Community
  • 1
  • 1

1 Answers1

1

See designated initializers in GCC parlance.

Basile Starynkevitch
  • 223,805
  • 18
  • 296
  • 547