Exemple #1
0
_WCRTLINK int __F_NAME(isalpha,iswalpha)( INTCHAR_TYPE c )
{
    if( IS_ASCII( c ) ) {
        return( IsWhat( c ) & (_LOWER|_UPPER) );
    } else {
        return( 0 );
    }
}
Exemple #2
0
_WCRTLINK int __F_NAME(isgraph,iswgraph)( INTCHAR_TYPE c )
{
    if( IS_ASCII(c) ) {
        return( (IsWhat( c ) & (_PRINT|_SPACE)) == _PRINT );
    } else {
        return( 0 );
    }
}
Exemple #3
0
_WCRTLINK int __F_NAME(isdigit,iswdigit)( INTCHAR_TYPE c )
{
    if( IS_ASCII( c ) ) {
        return( IsWhat( c ) & _DIGIT );
    } else {
        return( 0 );
    }
}
Exemple #4
0
_WCRTLINK int __F_NAME(ispunct,iswpunct)( INTCHAR_TYPE c )
{
    if( IS_ASCII( c ) ) {
        return( IsWhat( c ) & _PUNCT );
    } else {
        return( 0 );
    }
}
Exemple #5
0
_WCRTLINK int __F_NAME(isspace,iswspace)( INTCHAR_TYPE c )
{
    if( IS_ASCII( c ) ) {
        return( IsWhat( c ) & _SPACE );
    } else {
        return( 0 );
    }
}
Exemple #6
0
_WCRTLINK int __F_NAME(isxdigit,iswxdigit)( INTCHAR_TYPE c )
{
    return( IS_ASCII_INT( c )
        && IsWhat( c, _XDIGT ) );
}
Exemple #7
0
_WCRTLINK int __F_NAME(isupper,iswupper)( INTCHAR_TYPE c )
{
    return( IS_ASCII_INT( c )
        && IsWhat( c, _UPPER ) );
}
Exemple #8
0
_WCRTLINK int __F_NAME(islower,iswlower)( INTCHAR_TYPE c )
{
    return( IS_ASCII_INT( c )
        && IsWhat( c, _LOWER ) );
}
Exemple #9
0
_WCRTLINK int __F_NAME(isprint,iswprint)( INTCHAR_TYPE c )
{
    return( IS_ASCII_INT( c )
        && IsWhat( c, _PRINT ) );
}