Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
div
eof
Expand Minimize
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.

__toascii

Converts characters.

int __toascii(
   int c 
);

c

Character to convert.

__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

__toascii

<ctype.h>

Community Additions

ADD
Show:
© 2015 Microsoft