| Current File : //usr/share/man/man3c/toascii.3c |
'\" te
.\" Copyright (c) 2002, Sun Microsystems, Inc. All Rights Reserved
.TH toascii 3C "14 Aug 2002" "SunOS 5.11" "Standard C Library Functions"
.SH NAME
toascii \- translate integer to a 7-bit ASCII character
.SH SYNOPSIS
.LP
.nf
#include <ctype.h>
\fBint\fR \fBtoascii\fR(\fBint\fR \fIc\fR);
.fi
.SH DESCRIPTION
.sp
.LP
The \fBtoascii()\fR function converts its argument into a 7-bit \fBASCII\fR character.
.SH RETURN VALUES
.sp
.LP
The \fBtoascii()\fR function returns the value \fB(\fR\fIc\fR\fB & 0x7f)\fR.
.SH ERRORS
.sp
.LP
No errors are returned.
.SH ATTRIBUTES
.sp
.LP
See \fBattributes\fR(5) for descriptions of the following attributes:
.sp
.sp
.TS
tab() box;
lw(2.75i) |lw(2.75i)
lw(2.75i) |lw(2.75i)
.
\fBATTRIBUTE TYPE\fR\fBATTRIBUTE VALUE\fR
_
CSIEnabled
_
Interface StabilityStandard
_
MT-LevelMT-Safe
.TE
.SH SEE ALSO
.sp
.LP
\fBisascii\fR(3C), \fBattributes\fR(5), \fBstandards\fR(5)