man pages section 3: Basic Library Functions

Exit Print View

Updated: July 2014
 
 

toascii(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 TYPE
ATTRIBUTE VALUE
CSI
Enabled
Interface Stability
Standard
MT-Level
MT-Safe

See also

isascii(3C), attributes(5), standards(5)