Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


Converts characters.

int __toascii(
   int c 


Character to convert.

Return Value

__toascii converts a copy of c if possible, and returns the result. There is no return value reserved to indicate an error.


The __toascii routine converts the given character to an ASCII character.


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

For additional compatibility information, see Compatibility in the Introduction.


All versions of the C run-time libraries.

See Also

Data Conversion Routines | is Routines | to Functions Overview | Run-Time Routines and .NET Framework Equivalents

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.