Sha256: 1a0d737d13a3299fa0ed2acd59f3670a18dbd0189ced58e1f3060e480dceb09f

Contents?: true

Size: 342 Bytes

Versions: 8

Compression:

Stored size: 342 Bytes

Contents

/* 
 * 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 !st || !*(unsigned *)st;
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
webruby-0.2.7 modules/emscripten/system/lib/libc/musl/src/multibyte/mbsinit.c
webruby-0.2.5 modules/emscripten/system/lib/libc/musl/src/multibyte/mbsinit.c
webruby-0.2.4 modules/emscripten/system/lib/libc/musl/src/multibyte/mbsinit.c
webruby-0.2.2 modules/emscripten/system/lib/libc/musl/src/multibyte/mbsinit.c
webruby-0.2.1 modules/emscripten/system/lib/libc/musl/src/multibyte/mbsinit.c
webruby-0.1.2 modules/emscripten/system/lib/libc/musl/src/multibyte/mbsinit.c
webruby-0.1.1 modules/emscripten/system/lib/libc/musl/src/multibyte/mbsinit.c
webruby-0.1.0 modules/emscripten/system/lib/libc/musl/src/multibyte/mbsinit.c