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?

Reply via email to