7.24.6.2.1 The mbsinit function
Synopsis
#include <wchar.h>
int mbsinit(const mbstate_t *ps);
Description
If ps is not a null pointer, the mbsinit function determines whether the pointed-to mbstate_t object describes an initial conversion state.
Returns
The mbsinit function returns nonzero if ps is a null pointer or if the pointed-to object describes an initial conversion state; otherwise, it returns zero.