Products
and Services Support
and Docs Training Partner Programs About Red
Hat
  download storecart
red hat logo
redhat.comredhat network

Red Hat Documentation: man pages: man3: Linux Programmer's Manual (3)

Manpage of TOASCII

TOASCII

Section: Linux Programmer's Manual (3)
Updated: September 16, 2025
Index  

NAME

toascii - convert character to ASCII  

SYNOPSIS

#include <ctype.h>
int toascii (int c);
 

DESCRIPTION

toascii() converts c to a 7-bit unsigned char value that fits into the ASCII character set, by clearing the high-order bits.  

RETURN VALUE

The value returned is that of the converted character.  

CONFORMING TO

SVID, BSD  

BUGS

Many people will be unhappy if you use this function. This function will convert accented letters into random characters.  

SEE ALSO


 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUE
CONFORMING TO
BUGS
SEE ALSO

This document was created by using the manual pages.
Time: 11:58:07 GMT, March 24, 2025

 

 


 
© 2001 Red Hat, Inc. All rights reserved.
About Red Hat  :  Legal statement  :  Privacy statement  :  Y2K statement  :  Contact Red Hat