ReactOS 0.4.16-dev-2110-ge3521eb
iswctype_nt.c
Go to the documentation of this file.
1/*
2 * PROJECT: ReactOS NT CRT library
3 * LICENSE: MIT (https://spdx.org/licenses/MIT)
4 * PURPOSE: Implementation of iswctype
5 * COPYRIGHT: Copyright 2025 Timo Kreuzer <timo.kreuzer@reactos.org>
6 */
7
8#include <ctype.h>
9
10extern const unsigned short _wctype[];
11
13int
16{
17 if (_C <= 0xFF)
18 return (_wctype[_C + 1] & _Type);
19
20 return 0;
21}
#define __cdecl
Definition: corecrt.h:121
unsigned short wint_t
Definition: corecrt.h:243
unsigned short wctype_t
Definition: corecrt.h:244
const unsigned short _wctype[]
Definition: ctype.c:296
_Check_return_ int __cdecl iswctype(wint_t _C, wctype_t _Type)
Definition: iswctype_nt.c:15
#define _Check_return_
Definition: no_sal2.h:60