CHECK_LENGTH
#define CHECK_LENGTH(v, len) do { \
#define CHECK_LENGTH(l) (dpos > dst_len-(l) ? dst=NULL : NULL)
#undef CHECK_LENGTH