libc. Add basic wchar.h

This commit is contained in:
apio 2023-08-08 19:43:23 +02:00
parent ed8b210639
commit b1e164f360
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -0,0 +1,25 @@
/* wchar.h: Wide-character string manipulation functions. */
#ifndef _WCHAR_H
#define _WCHAR_H
typedef long int wint_t;
#include <stddef.h>
#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