-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathwchar.h
More file actions
32 lines (26 loc) · 1.02 KB
/
wchar.h
File metadata and controls
32 lines (26 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef _GHLIBCPP_WCHAR
#define _GHLIBCPP_WCHAR
#include "stddef.h"
#include "wctype.h"
// Wide character I/O functions
wint_t fgetwc(void *stream);
wint_t fputwc(wchar_t wc, void *stream);
// Wide character string conversion functions
long wcstol(const wchar_t *str, wchar_t **endptr, int base);
long long wcstoll(const wchar_t *str, wchar_t **endptr, int base);
unsigned long wcstoul(const wchar_t *str, wchar_t **endptr, int base);
unsigned long long wcstoull(const wchar_t *str, wchar_t **endptr, int base);
double wcstod(const wchar_t *str, wchar_t **endptr);
float wcstof(const wchar_t *str, wchar_t **endptr);
long double wcstold(const wchar_t *str, wchar_t **endptr);
size_t wcsftime (wchar_t *__restrict, size_t, const wchar_t *__restrict, const struct tm *__restrict);
size_t wcsxfrm (wchar_t *__restrict, const wchar_t *__restrict, size_t);
// Character classification and conversion types
typedef struct {
int __count;
union {
unsigned int __wch;
char __wchb[4];
} __value;
} mbstate_t;
#endif // _GHLIBCPP_WCHAR