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

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


Hi,

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 "."
>

http://stackoverflow.com/questions/3016107/what-is-tagged-structure-initialization-syntax

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