Version:  2.0.40 2.2.26 2.4.37 3.13 3.14 3.15 3.16 3.17 3.18 3.19 4.0 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10

Linux/include/linux/stddef.h

  1 #ifndef _LINUX_STDDEF_H
  2 #define _LINUX_STDDEF_H
  3 
  4 #undef NULL
  5 #if defined(__cplusplus)
  6 #define NULL 0
  7 #else
  8 #define NULL ((void *)0)
  9 #endif
 10 
 11 #undef offsetof
 12 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
 13 
 14 #endif
 15 

This page was automatically generated by LXR 0.3.1 (source).  •  Linux is a registered trademark of Linus Torvalds  •  Contact us