mirror of https://git.musl-libc.org/git/musl
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
335 B
17 lines
335 B
/*
|
|
* This code was written by Rich Felker in 2010; no copyright is claimed.
|
|
* This code is in the public domain. Attribution is appreciated but
|
|
* unnecessary.
|
|
*/
|
|
|
|
#include <stdlib.h>
|
|
#include <inttypes.h>
|
|
#include <wchar.h>
|
|
#include <errno.h>
|
|
|
|
#include "internal.h"
|
|
|
|
int mbsinit(const mbstate_t *st)
|
|
{
|
|
return !*(unsigned *)st;
|
|
}
|
|
|