*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->NetBSD man pages -> toascii (3)              



NAME    [Toc]    [Back]

     toascii - convert a byte to 7-bit ASCII

LIBRARY    [Toc]    [Back]

     Standard C Library (libc, -lc)

SYNOPSIS    [Toc]    [Back]

     #include <ctype.h>

     toascii(int c);

DESCRIPTION    [Toc]    [Back]

     The toascii() function strips all but the low 7 bits from a letter,
     including parity or other marker bits.

RETURN VALUES    [Toc]    [Back]

     The toascii() function always returns a valid ASCII character.

SEE ALSO    [Toc]    [Back]

     isalnum(3), isalpha(3), isascii(3), iscntrl(3), isdigit(3), isgraph(3),
     islower(3), isprint(3), ispunct(3), isspace(3), isupper(3), isxdigit(3),
     stdio(3), tolower(3), toupper(3), ascii(7)

STANDARDS    [Toc]    [Back]

     The isascii() function conforms to X/Open Portability Guide Issue 4

BSD                              June 4, 1993                              BSD
[ Back ]
 Similar pages
Name OS Title
ntohl Tru64 Convert an unsigned 32-bit integer from Internet network byte order to host byte order
htons Tru64 Convert an unsigned short (16-bit) integer from host byte order to network byte order
utf-8 Linux an ASCII compatible multi-byte Unicode encoding
toascii Linux convert character to ASCII
ctime_r OpenBSD convert date and time to ASCII
ctime OpenBSD convert date and time to ASCII
localtime NetBSD convert date and time to ASCII
atoi OpenBSD convert ASCII string to integer
gmtime_r NetBSD convert date and time to ASCII
difftime OpenBSD convert date and time to ASCII
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service