|
|
|
A query about typeof | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Hi, I see following code in kfifo.h typeof((fifo) + 1) __tmp = (fifo); [http://lxr.linux.no/linux+v3.1.6/include/linux/kfifo.h#L334] I do not understand this specific code construct. Why is it necessary to add 1 to fifo before getting its type? Is it related to some 'C' magic? -ctmzb _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
[Newbies FAQ] [Linux Kernel Development] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI]
![]() |
![]() |