Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Standard C Library Functionstoascii(3C)


NAME

 toascii - translate integer to a 7-bit ASCII character

SYNOPSIS

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

DESCRIPTION

 

The toascii() function converts its argument into a 7-bit ASCII character.

RETURN VALUES

 

The toascii() function returns the value (c & 0x7f).

ERRORS

 

No errors are returned.

ATTRIBUTES

 

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
MT-LevelMT-Safe
CSIEnabled

SEE ALSO

 

isascii(3C), attributes(5)


SunOS 5.9Go To TopLast Changed 20 Dec 1996

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.