summaryrefslogtreecommitdiff
path: root/modules/c32stombs
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-01-13 00:16:48 +0100
committerBruno Haible <bruno@clisp.org>2020-01-13 00:16:48 +0100
commit0296188c2fea8f448b846e5510b8f7873bb79b53 (patch)
tree292f863363ede5ad8f9669e60dd113f998820b5d /modules/c32stombs
parent6b9d15b8bcb3c009374ccb21dc2c2be2333133d7 (diff)
downloadgnulib-0296188c2fea8f448b846e5510b8f7873bb79b53.tar.gz
c32stombs: New module.
* lib/uchar.in.h (c32stombs): New declaration. * lib/c32stombs.c: New file. * m4/uchar.m4 (gl_UCHAR_H_DEFAULTS): Initialize GNULIB_C32STOMBS. * modules/uchar (Makefile.am): Substitute GNULIB_C32STOMBS. * modules/c32stombs: New file. * tests/test-uchar-c++.cc: Test the signature of c32stombs. * doc/posix-functions/wcstombs.texi: Mention the new module.
Diffstat (limited to 'modules/c32stombs')
-rw-r--r--modules/c32stombs25
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/c32stombs b/modules/c32stombs
new file mode 100644
index 0000000000..274187778b
--- /dev/null
+++ b/modules/c32stombs
@@ -0,0 +1,25 @@
+Description:
+c32stombs() function: convert 32-bit wide string to string.
+
+Files:
+lib/c32stombs.c
+
+Depends-on:
+uchar
+wchar
+c32srtombs
+
+configure.ac:
+gl_UCHAR_MODULE_INDICATOR([c32stombs])
+
+Makefile.am:
+lib_SOURCES += c32stombs.c
+
+Include:
+<uchar.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible