:pserver:cvsanon@mok.lvcm.com:/CVS/ReactOS reactos
[reactos.git] / lib / msvcrt / ctype / isalnum.c
1 /*
2  * COPYRIGHT:   See COPYING in the top level directory
3  * PROJECT:     ReactOS system libraries
4  * FILE:        lib/crtdll/ctype/isalnum.c
5  * PURPOSE:     Test for a alpha numeric character
6  * PROGRAMER:   Boudewijn Dekker
7  * UPDATE HISTORY:
8  *              28/12/98: Created
9  */
10 #include <msvcrt/ctype.h>
11
12
13 #undef isalnum
14 int isalnum(int c)
15 {
16    return _isctype(c,_ALPHA | _DIGIT);
17 }
18
19 #undef iswalnum
20 int iswalnum(wint_t c)
21 {
22    return iswctype(c,_ALPHA | _DIGIT);
23 }