A
Anonymousgoogledeja
hi all,
while I read the code from linux sources.
I read the statement
static const struct iw_ioctl_description standard_ioctl[] = {
[SIOCSIWCOMMIT - SIOCIWFIRST] = {
.header_type = IW_HEADER_TYPE_NULL,
},
...
};
I have never read such code. normaly, I will write the code as :
static const struct iw_ioctl_description standard_ioctl[] = {
{
.header_type = IW_HEADER_TYPE_NULL,
},
...
};
anyone would help me? thanks
while I read the code from linux sources.
I read the statement
static const struct iw_ioctl_description standard_ioctl[] = {
[SIOCSIWCOMMIT - SIOCIWFIRST] = {
.header_type = IW_HEADER_TYPE_NULL,
},
...
};
I have never read such code. normaly, I will write the code as :
static const struct iw_ioctl_description standard_ioctl[] = {
{
.header_type = IW_HEADER_TYPE_NULL,
},
...
};
anyone would help me? thanks