Embedded Artistry libc
C Standard Library Support for Bare-metal Systems
iswalpha.c File Reference
#include <wctype.h>
#include "alpha.h"
Include dependency graph for iswalpha.c:

Go to the source code of this file.

Functions

int iswalpha (wint_t wc)
 

Variables

static const unsigned char table []
 

Function Documentation

◆ iswalpha()

int iswalpha ( wint_t  wc)

Definition at line 7 of file iswalpha.c.

8 {
9  if(wc < 0x20000U)
10  {
11  return (table[table[wc >> 8] * 32 + ((wc & 255) >> 3)] >> (wc & 7)) & 1;
12  }
13  if(wc < 0x2fffeU)
14  {
15  return 1;
16  }
17  return 0;
18 }
static const unsigned char table[]
Definition: iswalpha.c:3

References table.

Referenced by __towcase(), iswalnum(), and iswctype().

Here is the caller graph for this function:

Variable Documentation

◆ table

const unsigned char table[]
static

Definition at line 3 of file iswalpha.c.

Referenced by iswalpha().