Talk:c/string/byte/strerror
From cppreference.com
< Talk:c | string/byte
[edit] strerror_s
Is there a case of undefined behavior with strerror_s? Typically, parameter bufsz specifies the size of the memory block pointed to by buf. It could erroneously be greater than that size. Then the length of the error message could be less than bufsz but greater than the length of the memory block pointed to by buf. Am I correct about this case? Newatthis (talk) 04:10, 21 August 2015 (PDT)