ladybird/Libraries/LibC/wchar.h
Calvin Buckley ef40ebbe6d LibC: Add some wchar functions
These are basically copy and pasted from the regular string version.
Also add some more multi-byte/wide conversion stub.

libarchive wanted these. There's a lot more, but we can add them
one at a time.
2019-10-13 08:44:47 +02:00

17 lines
294 B
C

#pragma once
#include <stddef.h>
#include <sys/cdefs.h>
__BEGIN_DECLS
#ifndef WEOF
# define WEOF (0xffffffffu)
#endif
size_t wcslen(const wchar_t*);
wchar_t* wcscpy(wchar_t*, const wchar_t*);
int wcscmp(const wchar_t*, const wchar_t*);
wchar_t* wcschr(const wchar_t*, int);
__END_DECLS