question about linked list implementation in kernel.h
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: question about linked list implementation in kernel.h
- From: Bond <jamesbond.2k.g@xxxxxxxxx>
- Date: Sat, 11 Sep 2010 18:03:21 +0530
I read
I was going through include/linux/kernel.h
encountered following code
#define container_of(ptr, type, member) ({ \
const typeof( ((type *)0)->member ) *__mptr = (ptr); \
in above code I am not clear with (type *)0
how is it working any link?
[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]