diff options
-rw-r--r-- | project/common.mk | 1 | ||||
-rw-r--r-- | src/u16_mbsinit.c | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/project/common.mk b/project/common.mk index 4b72987..ecf55c3 100644 --- a/project/common.mk +++ b/project/common.mk @@ -1,4 +1,5 @@ API_SRCS = \ + src/u16_mbsinit.c \ INTERNAL_SRCS = \ diff --git a/src/u16_mbsinit.c b/src/u16_mbsinit.c new file mode 100644 index 0000000..e7d9272 --- /dev/null +++ b/src/u16_mbsinit.c @@ -0,0 +1,13 @@ +/*******************************************************************/ +/* u16ports: u16 variants of wide character string functions. */ +/* Copyright (C) 2017 Z. Gilboa */ +/* Released under the Standard MIT License; see COPYING.U16PORTS. */ +/*******************************************************************/ + +#include <wchar.h> +#include <u16ports/u16ports.h> + +int u16_mbsinit(const mbstate_t * ps) +{ + return mbsinit(ps); +} |