diff --git a/libc/include/wchar.h b/libc/include/wchar.h index e69de29b..424cf718 100644 --- a/libc/include/wchar.h +++ b/libc/include/wchar.h @@ -0,0 +1,25 @@ +/* wchar.h: Wide-character string manipulation functions. */ + +#ifndef _WCHAR_H +#define _WCHAR_H + +typedef long int wint_t; + +#include + +#ifdef __cplusplus +extern "C" +{ +#endif + + /* Calculate the size of a null-terminated wide character string. */ + size_t wcslen(const wchar_t* str); + + /* Compare two null-terminated wide character strings. */ + int wcscmp(const wchar_t* a, const wchar_t* b); + +#ifdef __cplusplus +} +#endif + +#endif