diff options
author | midipix <writeonce@midipix.org> | 2017-11-11 14:24:41 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-11-25 11:30:31 -0500 |
commit | fa3616f801d6154048135288d0eb406d93cba3f4 (patch) | |
tree | fb6bfcf7b907eede661d1173f729c4190db7eb7f | |
parent | 28281b0ec15c9685edc5b7df6f965923f390d0c0 (diff) | |
download | u16ports-fa3616f801d6154048135288d0eb406d93cba3f4.tar.bz2 u16ports-fa3616f801d6154048135288d0eb406d93cba3f4.tar.xz |
added u16_mbsinit().
-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); +} |