谁能给我讲讲C标记结构体初始化语法(tagged structure initialiazation)或提供相应资料?
nalfs 2005-09-24 02:05:29 如
struct file_operations fops={
.llseek = scull_llseek,
.read = scull_read,
};
有的这样写:
struct file_operations fops={
llseek:scull_llseek,
.read: scull_read,
};
具体语法规则到底如何?我在网上没有找到相应的说明,请高手指点。