Sha256: dd7edca51a38a7343d1a54702f13b968be33477935ef469aaa3ecebfd22ef70a

Contents?: true

Size: 164 Bytes

Versions: 8

Compression:

Stored size: 164 Bytes

Contents

#include <wchar.h>

wchar_t *wcsrchr(const wchar_t *s, wchar_t c)
{
	const wchar_t *p;
	for (p=s+wcslen(s); p>=s && *p!=c; p--);
	return p>=s ? (wchar_t *)p : 0;
}

Version data entries

8 entries across 8 versions & 1 rubygems

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