1 /* cast initialization as the rhs of a - operand */ 2 struct sockaddr_dl { 3 char sdl_data[2]; 4 }; 5 6 int npdl_datasize = sizeof(struct sockaddr_dl) - 7 ((int) ((unsigned long)&((struct sockaddr_dl *) 0)->sdl_data[0])); 8
1 /* cast initialization as the rhs of a - operand */ 2 struct sockaddr_dl { 3 char sdl_data[2]; 4 }; 5 6 int npdl_datasize = sizeof(struct sockaddr_dl) - 7 ((int) ((unsigned long)&((struct sockaddr_dl *) 0)->sdl_data[0])); 8