summaryrefslogtreecommitdiff
path: root/modules/wcscmp
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-02-06 04:39:48 +0100
committerBruno Haible <bruno@clisp.org>2011-02-07 23:36:04 +0100
commitbe86abb4e6d5be278524ebb6b84392b67b017ed3 (patch)
tree435c78a00bf7cbd95bd9903b90a0e88d541e2c09 /modules/wcscmp
parent9c304a2f70142730023fe38a3517d1dfee6deeff (diff)
downloadgnulib-be86abb4e6d5be278524ebb6b84392b67b017ed3.tar.gz
New module 'wcscmp'.
* modules/wcscmp: New file. * lib/wchar.in.h (wcscmp): New declaration. * lib/wcscmp.c: New file. * lib/wcscmp-impl.h: New file, from libutf8 with modifications. * m4/wcscmp.m4: New file. * m4/wchar_h.m4 (gl_WCHAR_H): Test whether wcscmp is declared. (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSCMP, HAVE_WCSCMP. * modules/wchar (Makefile.am): Substitute GNULIB_WCSCMP, HAVE_WCSCMP. * tests/test-wchar-c++.cc: Test the declaration of wcscmp. * doc/posix-functions/wcscmp.texi: Mention the new module.
Diffstat (limited to 'modules/wcscmp')
-rw-r--r--modules/wcscmp31
1 files changed, 31 insertions, 0 deletions
diff --git a/modules/wcscmp b/modules/wcscmp
new file mode 100644
index 0000000000..27c162166c
--- /dev/null
+++ b/modules/wcscmp
@@ -0,0 +1,31 @@
+Description:
+wcscmp() function: compare two wide strings.
+
+Status:
+obsolete
+
+Notice:
+This module is obsolete.
+
+Files:
+lib/wcscmp.c
+lib/wcscmp-impl.h
+m4/wcscmp.m4
+
+Depends-on:
+wchar
+
+configure.ac:
+gl_FUNC_WCSCMP
+gl_WCHAR_MODULE_INDICATOR([wcscmp])
+
+Makefile.am:
+
+Include:
+<wchar.h>
+
+License:
+LGPL
+
+Maintainer:
+Bruno Haible