Sha256: 73b6ab905b31370d71549d53bd5347dc26884f3a08d90711dc19b89eaea8cad6

Contents?: true

Size: 269 Bytes

Versions: 8

Compression:

Stored size: 269 Bytes

Contents

#include <wchar.h>

wchar_t *wcstok(wchar_t *restrict s, const wchar_t *restrict sep, wchar_t **restrict p)
{
	if (!s && !(s = *p)) return NULL;
	s += wcsspn(s, sep);
	if (!*s) return *p = 0;
	*p = s + wcscspn(s, sep);
	if (**p) *(*p)++ = 0;
	else *p = 0;
	return s;
}

Version data entries

8 entries across 8 versions & 1 rubygems

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