mirror of
https://github.com/fluencelabs/musl
synced 2025-06-04 18:41:34 +00:00
despite clarifications made to the COPYRIGHT file in commit f0a61399330bae42beeb27d6ecd05570b3382a60, there continues to be confusion about whether the permissions granted actually apply to all files. I am the sole author of these files and clearly intend, and have always intended, for the grant of permission to apply to them.
8 lines
183 B
C
8 lines
183 B
C
#include <wchar.h>
|
|
|
|
size_t mbrlen(const char *restrict s, size_t n, mbstate_t *restrict st)
|
|
{
|
|
static unsigned internal;
|
|
return mbrtowc(0, s, n, st ? st : (mbstate_t *)&internal);
|
|
}
|