diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-16 15:47:08 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-16 15:47:08 -0400 |
| commit | 700fbd205a1a428677876d322606b9a354221892 (patch) | |
| tree | c1a521f3a2ea0346f293a543a9ed4ef6c1242b77 /src/uchar | |
| parent | d36c832edee04db91e0c0ab635980c63844ca07c (diff) | |
add skeleton of things from C11
Diffstat (limited to 'src/uchar')
| -rw-r--r-- | src/uchar/c16rtomb.c | 10 | ||||
| -rw-r--r-- | src/uchar/c32rtomb.c | 10 | ||||
| -rw-r--r-- | src/uchar/char16_t.c | 5 | ||||
| -rw-r--r-- | src/uchar/char32_t.c | 5 | ||||
| -rw-r--r-- | src/uchar/mbrtoc16.c | 10 | ||||
| -rw-r--r-- | src/uchar/mbrtoc32.c | 10 |
6 files changed, 50 insertions, 0 deletions
diff --git a/src/uchar/c16rtomb.c b/src/uchar/c16rtomb.c new file mode 100644 index 00000000..a99548c1 --- /dev/null +++ b/src/uchar/c16rtomb.c @@ -0,0 +1,10 @@ +#include <uchar.h> + +size_t c16rtomb(char * restrict s, char16_t c16, mbstate_t * restrict ps) +{ + return 0; +} + +/* +STDC(201112) +*/ diff --git a/src/uchar/c32rtomb.c b/src/uchar/c32rtomb.c new file mode 100644 index 00000000..6fc5ec7e --- /dev/null +++ b/src/uchar/c32rtomb.c @@ -0,0 +1,10 @@ +#include <uchar.h> + +size_t c32rtomb(char * restrict s, char32_t c32, mbstate_t * restrict ps) +{ + return 0; +} + +/* +STDC(201112) +*/ diff --git a/src/uchar/char16_t.c b/src/uchar/char16_t.c new file mode 100644 index 00000000..f7b141aa --- /dev/null +++ b/src/uchar/char16_t.c @@ -0,0 +1,5 @@ +typedef unsigned short char16_t; + +/* +STDC(201112) +*/ diff --git a/src/uchar/char32_t.c b/src/uchar/char32_t.c new file mode 100644 index 00000000..52d7a25e --- /dev/null +++ b/src/uchar/char32_t.c @@ -0,0 +1,5 @@ +typedef unsigned int char32_t; + +/* +STDC(201112) +*/ diff --git a/src/uchar/mbrtoc16.c b/src/uchar/mbrtoc16.c new file mode 100644 index 00000000..57468cac --- /dev/null +++ b/src/uchar/mbrtoc16.c @@ -0,0 +1,10 @@ +#include <uchar.h> + +size_t mbrtoc16(char16_t * restrict pc16, const char * restrict s, size_t n, mbstate_t * restrict ps) +{ + return 0; +} + +/* +STDC(201112) +*/ diff --git a/src/uchar/mbrtoc32.c b/src/uchar/mbrtoc32.c new file mode 100644 index 00000000..c640d4aa --- /dev/null +++ b/src/uchar/mbrtoc32.c @@ -0,0 +1,10 @@ +#include <uchar.h> + +size_t mbrtoc32(char32_t * restrict pc32, const char * restrict s, size_t n, mbstate_t * restrict ps) +{ + return 0; +} + +/* +STDC(201112) +*/ |
