summaryrefslogtreecommitdiff
path: root/modules/mbstoc32s
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-01-05 12:23:00 +0100
committerBruno Haible <bruno@clisp.org>2020-01-05 12:23:00 +0100
commit8208c314448c4a26beda29b9666a5626521b7312 (patch)
treecb678a59f8406d24f9c7dc919f90afb412086d72 /modules/mbstoc32s
parent888c04969a2a067ad6a4ed75cf3461e34765ee51 (diff)
downloadgnulib-8208c314448c4a26beda29b9666a5626521b7312.tar.gz
mbstoc32s: New module.
* lib/uchar.in.h (mbstoc32s): New declaration. * lib/mbstoc32s.c: New file. * m4/uchar.m4 (gl_UCHAR_H_DEFAULTS): Initialize GNULIB_MBSTOC32S. * modules/uchar (Makefile.am): Substitute GNULIB_MBSTOC32S. * modules/mbstoc32s: New file. * tests/test-uchar-c++.cc: Test the signature of mbstoc32s. * doc/posix-functions/mbstowcs.texi: Mention the new module.
Diffstat (limited to 'modules/mbstoc32s')
-rw-r--r--modules/mbstoc32s28
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/mbstoc32s b/modules/mbstoc32s
new file mode 100644
index 0000000000..e2b166294c
--- /dev/null
+++ b/modules/mbstoc32s
@@ -0,0 +1,28 @@
+Description:
+mbstoc32s() function: convert string to 32-bit wide string.
+
+Files:
+lib/mbstoc32s.c
+
+Depends-on:
+uchar
+wchar
+mbsrtoc32s
+
+configure.ac:
+gl_UCHAR_MODULE_INDICATOR([mbstoc32s])
+
+Makefile.am:
+lib_SOURCES += mbstoc32s.c
+
+Include:
+<uchar.h>
+
+Link:
+$(LIB_MBRTOWC)
+
+License:
+LGPLv2+
+
+Maintainer:
+Bruno Haible