diff options
author | Bruno Haible <bruno@clisp.org> | 2020-01-25 23:50:35 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2020-01-25 23:50:35 +0100 |
commit | 3eeecb071856c21573b1faf0dff1a5e76a7ffa55 (patch) | |
tree | a5cbce8d6b350d72bd3f870da2473fa2c366acad /lib/c32iscntrl.c | |
parent | 7a4592bdc5ac77bcf6d041da144ffbb2ab0a60e9 (diff) | |
download | gnulib-3eeecb071856c21573b1faf0dff1a5e76a7ffa55.tar.gz |
c32iscntrl: New module.
* lib/c32iscntrl.c: New file.
* modules/c32iscntrl: New file.
* doc/posix-functions/iswcntrl.texi: Mention the new module.
Diffstat (limited to 'lib/c32iscntrl.c')
-rw-r--r-- | lib/c32iscntrl.c | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/c32iscntrl.c b/lib/c32iscntrl.c new file mode 100644 index 0000000000..cad20913a5 --- /dev/null +++ b/lib/c32iscntrl.c @@ -0,0 +1,25 @@ +/* Test 32-bit wide character for being a control character. + 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 c32iscntrl +#define WCHAR_FUNC iswcntrl +#define UCS_FUNC uc_is_cntrl +#include "c32is-impl.h" |