NENTS
#define NENTS(a) (sizeof(a)/sizeof(a[0])-1)
#undef NENTS
#define NENTS(a) (sizeof(a) / sizeof(a[0]))