7.24.6.2.1 The mbsinit function

Synopsis

1

#include <wchar.h>
int mbsinit(const mbstate_t *ps);

Description

2

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

Returns

3

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.