calculates the length of the (untruncated) locale-specific message string that the strerror_s function maps to errnum.