__iscsym, __iscsymf
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

__iscsym, __iscsymf

int __iscsym( 
   int c 
);
int __iscsymf( 
   int c 
);

Parameter

c
Integer to test. c should be in the range of 0-127.

Return Value

__iscsym returns a non-zero value if c is a letter, underscore, or digit. __iscsymf returns a non-zero value if c is a letter or an underscore. Each of these routines returns 0 if c does not satisfy the test condition.

The result of the test condition for the __iscsym function depends on the LC_CTYPE category setting of the current locale; see setlocale for more information. For __iscsymf, the result of the test condition is independent of locale.

Requirements

Routine Required header Compatibility
__iscsym <ctype.h> Win 98, Win Me, Win NT, Win 2000, Win XP
__iscsymf <ctype.h> Win 98, Win Me, Win NT, Win 2000, Win XP

For additional compatibility information, see Compatibility in the Introduction.

Libraries

All versions of the C run-time libraries.

See Also

Character Classification Routines | Locale Routines | is, isw Function Overview | Run-Time Routines and .NET Framework Equivalents

Show:
© 2016 Microsoft