---
name: "iswctype"
section: "3"
platform: "linux"
package: "man-pages"
version: "6.19-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux", "freebsd"]
url: "https://carta.tech/man/iswctype"
---

# iswctype(3)

wide-character classification

## NAME

iswctype - wide-character classification

## LIBRARY

Standard C library (*libc*, *-lc*)

## SYNOPSIS

```
#include <wctype.h>
```

**int iswctype(wint\_t** *wc***, wctype\_t** *desc***);**

## DESCRIPTION

If *wc* is a wide character having the character property designated by *desc* (or in other words: belongs to the character class designated by *desc*), then the **iswctype**() function returns nonzero. Otherwise, it returns zero. If *wc* is **WEOF**, zero is returned.

*desc* must be a character property descriptor returned by the [**wctype**(3)](/man/wctype/3.md) function.

## RETURN VALUE

The **iswctype**() function returns nonzero if the *wc* has the designated property. Otherwise, it returns 0.

## ATTRIBUTES

For an explanation of the terms used in this section, see [**attributes**(7)](/man/attributes/7.md).

| | | |
| --- | --- | --- |
| **Interface** | **Attribute** | **Value** |
| **iswctype**() | Thread safety | MT-Safe |

## STANDARDS

C11, POSIX.1-2008.

## HISTORY

POSIX.1-2001, C99.

## NOTES

The behavior of **iswctype**() depends on the **LC\_CTYPE** category of the current locale.

## SEE ALSO

[**iswalnum**(3)](/man/iswalnum/3.md), [**iswalpha**(3)](/man/iswalpha/3.md), [**iswblank**(3)](/man/iswblank/3.md), [**iswcntrl**(3)](/man/iswcntrl/3.md), [**iswdigit**(3)](/man/iswdigit/3.md), [**iswgraph**(3)](/man/iswgraph/3.md), [**iswlower**(3)](/man/iswlower/3.md), [**iswprint**(3)](/man/iswprint/3.md), [**iswpunct**(3)](/man/iswpunct/3.md), [**iswspace**(3)](/man/iswspace/3.md), [**iswupper**(3)](/man/iswupper/3.md), [**iswxdigit**(3)](/man/iswxdigit/3.md), [**wctype**(3)](/man/wctype/3.md)
