3 ms·
A variation of this syntax was standardized in C99: int needfid[] = { [Tversion] = 0, [Tflush] = 0, It works for structs too: struct
by pdw 13y ago
A variation of this syntax was standardized in C99:
int needfid[] = {
[Tversion] = 0,
[Tflush] = 0,
It works for structs too:
struct blah needfid = {
.version = 0,
.flush = 0,