What is tagged structure initialization syntax?
Posted
by httpinterpret
on Stack Overflow
See other posts from Stack Overflow
or by httpinterpret
Published on 2010-06-10T15:56:56Z
Indexed on
2010/06/10
17:52 UTC
Read the original article
Hit count: 183
struct file_operations scull_fops = {
.owner = THIS_MODULE,
.llseek = scull_llseek,
.read = scull_read,
.write = scull_write,
.ioctl = scull_ioctl,
.open = scull_open,
.release = scull_release,
};
This declaration uses the standard C tagged structure initialization syntax.
Can someone elaborate?
© Stack Overflow or respective owner