1 .\" Copyright (c) Bruno Haible <haible@clisp.cons.org>
3 .\" SPDX-License-Identifier: GPL-2.0-or-later
5 .\" References consulted:
6 .\" GNU glibc-2 source code and manual
7 .\" Dinkumware C library reference http://www.dinkumware.com/
8 .\" OpenGroup's Single UNIX specification http://www.UNIX-systems.org/online.html
11 .TH ISWCNTRL 3 2021-03-22 "Linux man-pages (unreleased)" "Linux Programmer's Manual"
13 iswcntrl \- test for control wide character
16 .RI ( libc ", " \-lc )
19 .B #include <wctype.h>
21 .BI "int iswcntrl(wint_t " wc );
26 function is the wide-character equivalent of the
32 belonging to the wide-character class "cntrl".
34 The wide-character class "cntrl" is disjoint from the wide-character class
35 "print" and therefore also disjoint from its subclasses "graph", "alpha",
36 "upper", "lower", "digit", "xdigit", "punct".
42 .IR iswcntrl(btowc(c)) ,
47 function returns nonzero if
50 wide character belonging to the wide-character class "cntrl".
51 Otherwise, it returns zero.
53 For an explanation of the terms used in this section, see
61 Interface Attribute Value
64 T} Thread safety MT-Safe locale
70 POSIX.1-2001, POSIX.1-2008, C99.