<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/79358>79358</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[libc] Investigate the correct value for `MB_LEN_MAX` in `limits.h` header
</td>
</tr>
<tr>
<th>Labels</th>
<td>
libc
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
nickdesaulniers
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
lntue
</td>
</tr>
</table>
<pre>
clang: MB_LEN_MAX = 1 - https://github.com/llvm/llvm-project/blob/main/clang/lib/Headers/limits.h#L64
glibc: MB_LEN_MAX = 16 - https://github.com/bminor/glibc/blob/master/include/limits.h#L32
musl: MB_LEN_MAX = 4 - https://git.musl-libc.org/cgit/musl/tree/include/limits.h#n35
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUUk2L1TAU_TW3mzAlvWn72kUXb3gWhRnX7oYkvbbRNB3y8cB_L8lTR-QpuCocmvN1jwzBrI5ogu4REJ3RXxcKMllnyAdAhO5SyRS3w0_WxUSVOpZvk7bSrSDO7Pnx5endx5fn8ycG4sIa9sC2GF8DiDPgDDivJm5J1frYAWdrrz8_D6_--EI6As7KHgpw3qVxgPONGmdrMvie5FKMzNbsJoZ6AxRPfQv8Avy8WqP0PRv9v32o3bjDZ7QQ_GYhRMq4cdqmhf6QFXiT3VOwd1Tbe6J1_vkhy9SHz7n0anLowoFz9ER_03Oiq5ZJLKMYZUVTc-J9g6f-xKttGjs5SjEIWlTTNoSjVJrGlusWh0GopTITcmx5gy1ybPhYN_1ARCPRCTtaRg4tp10aW-drZG-VCSHRdBpFN1RWKrLhxypuJZUp-KkcT6U1QMutCTG8EUQTbVlSedBd2Ad3pRDNKiOxuBHTh_ekI7tKm4h9PjyDnr-1CD1nxmXsVws9Z1uZQJW8nf57WiVSXk9J9T0AAP__j9_p-A">