vsnprintf: make more consistent with snprintf; doc fixes