Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[libc] Investigate the correct value for MB_LEN_MAX in limits.h header #79358

Open
lntue opened this issue Jan 24, 2024 · 0 comments
Open

[libc] Investigate the correct value for MB_LEN_MAX in limits.h header #79358

lntue opened this issue Jan 24, 2024 · 0 comments
Assignees
Labels

Comments

@lntue
Copy link
Contributor

lntue commented Jan 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants