summaryrefslogtreecommitdiff
path: root/src/multibyte/mbsinit.c
blob: c608194a0791e4763316778f596cfe9434950299 (plain) (blame)
1
2
3
4
5
6
#include <wchar.h>

int mbsinit(const mbstate_t *st)
{
	return !st || !*(unsigned *)st;
}