NAME
toascii - convert character to ASCII
SYNOPSIS
#include <ctype.h> int toascii(int c); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): toascii(): _XOPEN_SOURCE || /* Glibc since 2.19: */ _DEFAULT_SOURCE || /* Glibc versions <= 2.19: */ _SVID_SOURCE || _BSD_SOURCE
DESCRIPTION
toascii() converts c to a 7-bit unsigned char value that fits into the ASCII character set, by clearing the high-order bits.
RETURN VALUE
The value returned is that of the converted character.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). Interface Attribute Value toascii() Thread safety MT-Safe
CONFORMING TO
SVr4, BSD, POSIX.1-2001. POSIX.1-2008 marks toascii() as obsolete, noting that it cannot be used portably in a localized application.
BUGS
Many people will be unhappy if you use this function. This function will convert accented letters into random characters.
SEE ALSO
isascii(3), tolower(3), toupper(3)
COLOPHON
This page is part of release 4.09 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/.
More Linux Commands
manpages/Tk_CanvasPsY.3.html
Tk_CanvasPsY(3) - utility procedures for generating Postscri
These procedures are called by canvas type managers to carry out common functions related to generating Postscript. Most of the procedures take a canvas argumen
manpages/XkbSetAccessXTimeout.3.html
XkbSetAccessXTimeout(3) - Configures the AccessXTimeout opti
XkbSetAccessXTimeout.3 - In environments where computers are shared, features such as SlowKeys present a problem: if SlowKeys is on, the keyboard can appear to
manpages/regpatch.1.html
regpatch(1) Applies registry patches to registry files......
The regpatch utility applies registry patches to Windows registry files. The patch files should have the same format as is being used by the regdiff utility and
manpages/XwcTextEscapement.3.html
XwcTextEscapement(3) - obtain the escapement of text........
The XmbTextEscapement, XwcTextEscapement and Xutf8TextEscapement functions return the escapement in pixels of the specified string as a value, using the fonts l
manpages/git-add.1.html
git-add(1) - Add file contents to the index - Linux man page
This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit. It typically adds the cur
manpages/TIFFmemory.3tiff.html
TIFFmemory(3tiff) - memory management-related functions for
These routines are provided for writing portable software that uses libtiff; they hide any memory-management related issues, such as dealing with segmented arch
manpages/mbrtowc.3.html
mbrtowc(3) - convert a multibyte sequence to a wide characte
The main case for this function is when s is not NULL and pwc is not NULL. In this case, the mbrtowc() function inspects at most n bytes of the multibyte string
manpages/ypbind.8.html
ypbind(8) - NIS binding process (Admin - Linux man page)....
ypbind finds the server for NIS domains and maintains the NIS binding information. The client (normally the NIS routines in the standard C library) could get th
manpages/field_init.3form.html
field_init(3form) - set hooks for automatic invocation by ap
These functions make it possible to set hook functions to be called at various points in the automatic processing of input event codes by form_driver. The funct
manpages/grmic.1.html
grmic(1) - Generate stubs for Remote Method Invocation......
grmic is a utility included with libgcj which generates stubs for remote objects. Note that this program isnt yet fully compatible with the JDK grmic. Some opti
manpages/winetricks.1.html
winetricks(1) manage virtual windows environments using wine
winetricks is an easy way to work around common problems in Wine. It provides simple commands to tweak Wine settings, download and install missing Windows DLLs
manpages/XGetPointerMapping.3.html
XGetPointerMapping(3) - manipulate pointer settings.........
The XSetPointerMapping function sets the mapping of the pointer. If it succeeds, the X server generates a MappingNotify event, and XSetPointerMapping returns Ma
