text
stringlengths 0
234
|
---|
.\"
|
.th iswcntrl 3 2021-03-22 "gnu" "linux programmer's manual"
|
.sh name
|
iswcntrl \- test for control wide character
|
.sh synopsis
|
.nf
|
.b #include <wctype.h>
|
.pp
|
.bi "int iswcntrl(wint_t " wc );
|
.fi
|
.sh description
|
the
|
.br iswcntrl ()
|
function is the wide-character equivalent of the
|
.br iscntrl (3)
|
function.
|
it tests whether
|
.i wc
|
is a wide character
|
belonging to the wide-character class "cntrl".
|
.pp
|
the wide-character class "cntrl" is disjoint from the wide-character class
|
"print" and therefore also disjoint from its subclasses "graph", "alpha",
|
"upper", "lower", "digit", "xdigit", "punct".
|
.pp
|
for an unsigned char
|
.ir c ,
|
.i iscntrl(c)
|
implies
|
.ir iswcntrl(btowc(c)) ,
|
but not vice versa.
|
.sh return value
|
the
|
.br iswcntrl ()
|
function returns nonzero if
|
.i wc
|
is a
|
wide character belonging to the wide-character class "cntrl".
|
otherwise, it returns zero.
|
.sh attributes
|
for an explanation of the terms used in this section, see
|
.br attributes (7).
|
.ad l
|
.nh
|
.ts
|
allbox;
|
lbx lb lb
|
l l l.
|
interface attribute value
|
t{
|
.br iswcntrl ()
|
t} thread safety mt-safe locale
|
.te
|
.hy
|
.ad
|
.sp 1
|
.sh conforming to
|
posix.1-2001, posix.1-2008, c99.
|
.sh notes
|
the behavior of
|
.br iswcntrl ()
|
depends on the
|
.b lc_ctype
|
category of the
|
current locale.
|
.sh see also
|
.br iscntrl (3),
|
.br iswctype (3)
|
.sh colophon
|
this page is part of release 5.13 of the linux
|
.i man-pages
|
project.
|
a description of the project,
|
information about reporting bugs,
|
and the latest version of this page,
|
can be found at
|
\%https://www.kernel.org/doc/man\-pages/.
|
.so man3/getcwd.3
|
.so man3/sigvec.3
|
.so man3/exec.3
|
.\" copyright (c) 2016 michael kerrisk <mtk.manpages@gmail.com>
|
.\"
|
.\" %%%license_start(verbatim)
|
.\" permission is granted to make and distribute verbatim copies of this
|
.\" manual provided the copyright notice and this permission notice are
|
.\" preserved on all copies.
|
.\"
|
.\" permission is granted to copy and distribute modified versions of this
|
.\" manual under the conditions for verbatim copying, provided that the
|
.\" entire resulting derived work is distributed under the terms of a
|
.\" permission notice identical to this one.
|
.\"
|
.\" since the linux kernel and libraries are constantly changing, this
|
.\" manual page may be incorrect or out-of-date. the author(s) assume no
|
.\" responsibility for errors or omissions, or for damages resulting from
|
.\" the use of the information contained herein. the author(s) may not
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.