c/string/multibyte/mbsinit

If is not a null pointer, the  function determines whether the pointed-to mbstate_t object describes the initial conversion state.

Return value
if is not a null pointer and does not represent the initial conversion state, nonzero value otherwise.