Re:Ask HN: Favorite pointer tricks in C?
by jhrobert on Saturday November 20, 2010 @05:04PM
(#1925459)
implementing linked lists the way the linux kernel does, that is: each node contains one pointer for each list it can be part of, that pointer's position is determined using some offset_of( field, name) macro.
[ Parent
| on HN ]