Why use "." in the struct in this way?

Prashant Shah pshah.mumbai at gmail.com
Mon Jul 29 11:20:42 EDT 2013


On Mon, Jul 29, 2013 at 8:26 PM, lx <lxlenovostar at gmail.com> wrote:
> hi all:
>        why use the struct in this way by "."


The new specification of C language (C99) allows you to use "tagged"
initializers by supplying the desired member name within the {}

More information about the Kernelnewbies mailing list