相关疑难解决方法(0)

什么是标记结构初始化语法?

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,
};
Run Code Online (Sandbox Code Playgroud)

此声明使用标准C标记结构初始化语法.

有人可以详细说明吗?

c syntax linux-kernel

43
推荐指数
2
解决办法
2万
查看次数

标签 统计

c ×1

linux-kernel ×1

syntax ×1