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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, Jul 29, 2013 at 8:26 PM, lx <lxlenovostar@xxxxxxxxx> 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 {}

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux