在wiki上看到的offsetof的macro
http://en.wikipedia.org/wiki/Offsetof
http://gcc.gnu.org/onlinedocs/gcc-4.4.2/gcc/Offsetof.html
http://blog.linux.org.tw/~jserv/archives/001399.html
而他有兩個argument
第一個是struct type 第二個是member
Thursday, November 25, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment