Files
semi-libc/src/multibyte/mbsinit.c
T
Rich Felker 6cec7bc57f remove comments on copyright status from UTF-8 implementation files
despite clarifications made to the COPYRIGHT file in commit
f0a6139933, 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.
2016-06-21 16:33:14 -04:00

7 lines
90 B
C

#include <wchar.h>
int mbsinit(const mbstate_t *st)
{
return !st || !*(unsigned *)st;
}