summaryrefslogtreecommitdiff
path: root/lib/c32isupper.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2020-01-26 00:02:50 +0100
committerBruno Haible <bruno@clisp.org>2020-01-26 00:17:36 +0100
commitd1259e025028d63e46c0e520ccf05a24bd4c4dce (patch)
tree54be3a4a57b4557bd74559b14e9dff599b4b0588 /lib/c32isupper.c
parent671f3d4b10ee39e9b79a6b4522f7a59d1d654aa7 (diff)
downloadgnulib-d1259e025028d63e46c0e520ccf05a24bd4c4dce.tar.gz
c32isupper: New module.
* lib/c32isupper.c: New file. * modules/c32isupper: New file. * doc/posix-functions/iswupper.texi: Mention the new module.
Diffstat (limited to 'lib/c32isupper.c')
-rw-r--r--lib/c32isupper.c25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/c32isupper.c b/lib/c32isupper.c
new file mode 100644
index 0000000000..e65257ed7d
--- /dev/null
+++ b/lib/c32isupper.c
@@ -0,0 +1,25 @@
+/* Test 32-bit wide character for being uppercase.
+ Copyright (C) 2020 Free Software Foundation, Inc.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, see <https://www.gnu.org/licenses/>. */
+
+#include <config.h>
+
+/* Specification. */
+#include <uchar.h>
+
+#define FUNC c32isupper
+#define WCHAR_FUNC iswupper
+#define UCS_FUNC uc_is_upper
+#include "c32is-impl.h"