www.delorie.com/djgpp/doc/libc-2.01/libc_657.html   search  
Go to the first, previous, next, last section, table of contents.


toascii

Syntax

#include <ctype.h>

int toascii(int c);

Description

This function strips the high bit of c, forcing it to be an ASCII character.

Return Value

The ASCII character.

Example

for (i=0; buf[i]; i++)
  buf[i] = toascii(buf[i]);


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997