00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include <nlibc.h>
00017
00018 #error "wide characters are not implemented for APEnext nlcc"
00019
00020 wchar_t
00021 size_t
00022 mbstate_t
00023 wint_t
00024 struct tm
00025 NULL
00026 WCHAR_MAX
00027 WCHAR_MIN
00028 WEOF
00029
00030 int fwprintf(FILE * restrict stream, const wchar_t * restrict format, ...);
00031 int fwscanf(FILE * restrict stream, const wchar_t * restrict format, ...);
00032 int swprintf(wchar_t * restrict s, size_t n, const wchar_t * restrict format, ...);
00033 int swscanf(const wchar_t * restrict s, const wchar_t * restrict format, ...);
00034 int vfwprintf(FILE * restrict stream, const wchar_t * restrict format, va_list arg);
00035 int vfwscanf(FILE * restrict stream, const wchar_t * restrict format, va_list arg);
00036 int vswprintf(wchar_t * restrict s, size_t n, const wchar_t * restrict format, va_list arg);
00037 int vswscanf(const wchar_t * restrict s, const wchar_t * restrict format, va_list arg);
00038 int vwprintf(const wchar_t * restrict format, va_list arg);
00039 int vwscanf(const wchar_t * restrict format, va_list arg);
00040 int wprintf(const wchar_t * restrict format, ...);
00041 int wscanf(const wchar_t * restrict format, ...);
00042 wint_t fgetwc(FILE *stream);
00043 wchar_t *fgetws(wchar_t * restrict s, int n, FILE * restrict stream);
00044 wint_t fputwc(wchar_t c, FILE *stream);
00045 int fputws(const wchar_t * restrict s, FILE * restrict stream);
00046 int fwide(FILE *stream, int mode);
00047 wint_t getwc(FILE *stream);
00048 wint_t getwchar(void);
00049 wint_t putwc(wchar_t c, FILE *stream);
00050 wint_t putwchar(wchar_t c);
00051 wint_t ungetwc(wint_t c, FILE *stream);
00052 double wcstod(const wchar_t * restrict nptr, wchar_t ** restrict endptr);
00053 float wcstof(const wchar_t * restrict nptr, wchar_t ** restrict endptr);
00054 long double wcstold(const wchar_t * restrict nptr, wchar_t ** restrict endptr);
00055 long int wcstol(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base);
00056 long long int wcstoll(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base);
00057 unsigned long int wcstoul(const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base);
00058 unsigned long long int wcstoull(
00059 const wchar_t * restrict nptr, wchar_t ** restrict endptr, int base);
00060 wchar_t *wcscpy(wchar_t * restrict s1, const wchar_t * restrict s2);
00061 wchar_t *wcsncpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n);
00062 wchar_t *wcscat(wchar_t * restrict s1, const wchar_t * restrict s2);
00063 wchar_t *wcsncat(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n);
00064 int wcscmp(const wchar_t *s1, const wchar_t *s2);
00065 int wcscoll(const wchar_t *s1, const wchar_t *s2);
00066 int wcsncmp(const wchar_t *s1, const wchar_t *s2, size_t n);
00067 size_t wcsxfrm(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n);
00068 wchar_t *wcschr(const wchar_t *s, wchar_t c);
00069 size_t wcscspn(const wchar_t *s1, const wchar_t *s2);
00070 size_t wcslen(const wchar_t *s);
00071 wchar_t *wcspbrk(const wchar_t *s1, const wchar_t *s2);
00072 wchar_t *wcsrchr(const wchar_t *s, wchar_t c);
00073 size_t wcsspn(const wchar_t *s1, const wchar_t *s2);
00074 wchar_t *wcsstr(const wchar_t *s1, const wchar_t *s2);
00075 wchar_t *wcstok(wchar_t * restrict s1, const wchar_t * restrict s2, wchar_t ** restrict ptr);
00076 wchar_t *wmemchr(const wchar_t *s, wchar_t c, size_t n);
00077 int wmemcmp(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n);
00078 wchar_t *wmemcpy(wchar_t * restrict s1, const wchar_t * restrict s2, size_t n);
00079 wchar_t *wmemmove(wchar_t *s1, const wchar_t *s2, size_t n);
00080 wchar_t *wmemset(wchar_t *s, wchar_t c, size_t n);
00081 size_t wcsftime(wchar_t * restrict s, size_t maxsize, const wchar_t * restrict format, const struct tm * restrict timeptr);
00082 wint_t btowc(int c);
00083 int wctob(wint_t c);
00084 int mbsinit(const mbstate_t *ps);
00085 size_t mbrlen(const char * restrict s, size_t n, mbstate_t * restrict ps);
00086 size_t mbrtowc(wchar_t * restrict pwc, const char * restrict s, size_t n, mbstate_t * restrict ps);
00087 size_t wcrtomb(char * restrict s, wchar_t wc, mbstate_t * restrict ps);
00088 size_t mbsrtowcs(wchar_t * restrict dst, const char ** restrict src, size_t len, mbstate_t * restrict ps);
00089 size_t wcsrtombs(char * restrict dst, const wchar_t ** restrict src, size_t len, mbstate_t * restrict ps);