diff options
author | Bruno Haible <bruno@clisp.org> | 2020-01-26 00:04:38 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-01-26 00:17:37 +0100 |
commit | bd0e30c9555eebe0f2ce6053061dc3e82d89d718 (patch) | |
tree | 088d8209910bc5a2ec18c61bf3bbad7c257c0146 /lib/c32isxdigit.c | |
parent | 1eb5ae2654d5dcefdd3491030a4a247c2203c1e5 (diff) | |
download | gnulib-bd0e30c9555eebe0f2ce6053061dc3e82d89d718.tar.gz |
c32isxdigit: New module.
* lib/c32isxdigit.c: New file.
* modules/c32isxdigit: New file.
* doc/posix-functions/iswxdigit.texi: Mention the new module.
Diffstat (limited to 'lib/c32isxdigit.c')
-rw-r--r-- | lib/c32isxdigit.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/c32isxdigit.c b/lib/c32isxdigit.c new file mode 100644 index 0000000000..3a2319517c --- /dev/null +++ b/lib/c32isxdigit.c @@ -0,0 +1,25 @@ +/* Test 32-bit wide character for being a hexadecimal digit. + 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 c32isxdigit +#define WCHAR_FUNC iswxdigit +#define UCS_FUNC uc_is_xdigit +#include "c32is-impl.h" |