Back to index

nagios-plugins  1.4.16
Defines | Functions
wctype.in.h File Reference

Go to the source code of this file.

Defines

#define _GL_WCTYPE_H
#define wint_t   int
#define WEOF   -1

Functions

static int iswalnum (wint_t wc)
static int iswalpha (wint_t wc)
static int iswblank (wint_t wc)
static int iswcntrl (wint_t wc)
static int iswdigit (wint_t wc)
static int iswgraph (wint_t wc)
static int iswlower (wint_t wc)
static int iswprint (wint_t wc)
static int iswpunct (wint_t wc)
static int iswspace (wint_t wc)
static int iswupper (wint_t wc)
static int iswxdigit (wint_t wc)
static wint_t towlower (wint_t wc)
static wint_t towupper (wint_t wc)
 _GL_CXXALIAS_SYS (iswalnum, int,(wint_t wc))
 _GL_CXXALIAS_SYS (iswalpha, int,(wint_t wc))
 _GL_CXXALIAS_SYS (iswblank, int,(wint_t wc))
 _GL_CXXALIAS_SYS (iswcntrl, int,(wint_t wc))
 _GL_CXXALIAS_SYS (iswdigit, int,(wint_t wc))
 _GL_CXXALIAS_SYS (iswgraph, int,(wint_t wc))
 _GL_CXXALIAS_SYS (iswlower, int,(wint_t wc))
 _GL_CXXALIAS_SYS (iswprint, int,(wint_t wc))
 _GL_CXXALIAS_SYS (iswpunct, int,(wint_t wc))
 _GL_CXXALIAS_SYS (iswspace, int,(wint_t wc))
 _GL_CXXALIAS_SYS (iswupper, int,(wint_t wc))
 _GL_CXXALIAS_SYS (iswxdigit, int,(wint_t wc))
 _GL_CXXALIASWARN (iswalnum)
 _GL_CXXALIASWARN (iswalpha)
 _GL_CXXALIASWARN (iswblank)
 _GL_CXXALIASWARN (iswcntrl)
 _GL_CXXALIASWARN (iswdigit)
 _GL_CXXALIASWARN (iswgraph)
 _GL_CXXALIASWARN (iswlower)
 _GL_CXXALIASWARN (iswprint)
 _GL_CXXALIASWARN (iswpunct)
 _GL_CXXALIASWARN (iswspace)
 _GL_CXXALIASWARN (iswupper)
 _GL_CXXALIASWARN (iswxdigit)
 _GL_CXXALIAS_SYS (towlower, wint_t,(wint_t wc))
 _GL_CXXALIAS_SYS (towupper, wint_t,(wint_t wc))
 _GL_CXXALIASWARN (towlower)
 _GL_CXXALIASWARN (towupper)

Define Documentation

#define _GL_WCTYPE_H

Definition at line 55 of file wctype.in.h.

#define WEOF   -1

Definition at line 65 of file wctype.in.h.

#define wint_t   int

Definition at line 63 of file wctype.in.h.


Function Documentation

_GL_CXXALIAS_SYS ( iswalnum  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( iswalpha  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( iswblank  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( iswcntrl  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( iswdigit  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( iswgraph  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( iswlower  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( iswprint  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( iswpunct  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( iswspace  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( iswupper  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( iswxdigit  ,
int  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( towlower  ,
wint_t  ,
(wint_t wc)   
)
_GL_CXXALIAS_SYS ( towupper  ,
wint_t  ,
(wint_t wc)   
)
static int iswalnum ( wint_t  wc) [inline, static]

Definition at line 126 of file wctype.in.h.

{
  return ((wc >= '0' && wc <= '9')
          || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z'));
}
static int iswalpha ( wint_t  wc) [inline, static]

Definition at line 138 of file wctype.in.h.

{
  return (wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z';
}
static int iswblank ( wint_t  wc) [inline, static]

Definition at line 149 of file wctype.in.h.

{
  return wc == ' ' || wc == '\t';
}
static int iswcntrl ( wint_t  wc) [inline, static]

Definition at line 160 of file wctype.in.h.

{
  return (wc & ~0x1f) == 0 || wc == 0x7f;
}
static int iswdigit ( wint_t  wc) [inline, static]

Definition at line 171 of file wctype.in.h.

{
  return wc >= '0' && wc <= '9';
}
static int iswgraph ( wint_t  wc) [inline, static]

Definition at line 182 of file wctype.in.h.

{
  return wc >= '!' && wc <= '~';
}
static int iswlower ( wint_t  wc) [inline, static]

Definition at line 193 of file wctype.in.h.

{
  return wc >= 'a' && wc <= 'z';
}
static int iswprint ( wint_t  wc) [inline, static]

Definition at line 204 of file wctype.in.h.

{
  return wc >= ' ' && wc <= '~';
}
static int iswpunct ( wint_t  wc) [inline, static]

Definition at line 215 of file wctype.in.h.

{
  return (wc >= '!' && wc <= '~'
          && !((wc >= '0' && wc <= '9')
               || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'Z')));
}
static int iswspace ( wint_t  wc) [inline, static]

Definition at line 228 of file wctype.in.h.

{
  return (wc == ' ' || wc == '\t'
          || wc == '\n' || wc == '\v' || wc == '\f' || wc == '\r');
}
static int iswupper ( wint_t  wc) [inline, static]

Definition at line 240 of file wctype.in.h.

{
  return wc >= 'A' && wc <= 'Z';
}
static int iswxdigit ( wint_t  wc) [inline, static]

Definition at line 251 of file wctype.in.h.

{
  return ((wc >= '0' && wc <= '9')
          || ((wc & ~0x20) >= 'A' && (wc & ~0x20) <= 'F'));
}
static wint_t towlower ( wint_t  wc) [inline, static]

Definition at line 263 of file wctype.in.h.

{
  return (wc >= 'A' && wc <= 'Z' ? wc - 'A' + 'a' : wc);
}

Here is the caller graph for this function:

static wint_t towupper ( wint_t  wc) [inline, static]

Definition at line 274 of file wctype.in.h.

{
  return (wc >= 'a' && wc <= 'z' ? wc - 'a' + 'A' : wc);
}