diff options
author | Bruno Haible <bruno@clisp.org> | 2020-01-26 00:00:47 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-01-26 00:17:35 +0100 |
commit | 3bcd894ee3ebb49a73cecccc38c39f4c7d64750c (patch) | |
tree | fdccd9f7722cfe6ce36b8a15f6c16641ad009670 /lib/c32isspace.c | |
parent | 5ad2487b4b741aec20cafb3bbe67019489202df6 (diff) | |
download | gnulib-3bcd894ee3ebb49a73cecccc38c39f4c7d64750c.tar.gz |
c32isspace: New module.
* lib/c32isspace.c: New file.
* modules/c32isspace: New file.
* doc/posix-functions/iswspace.texi: Mention the new module.
Diffstat (limited to 'lib/c32isspace.c')
-rw-r--r-- | lib/c32isspace.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/c32isspace.c b/lib/c32isspace.c new file mode 100644 index 0000000000..f2b2d5371c --- /dev/null +++ b/lib/c32isspace.c @@ -0,0 +1,25 @@ +/* Test 32-bit wide character for being white-space. + 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 c32isspace +#define WCHAR_FUNC iswspace +#define UCS_FUNC uc_is_space +#include "c32is-impl.h" |