GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
GIS Library - Remove non-ascii characters. More...
#include <grass/gis.h>
Go to the source code of this file.
Macros | |
#define | TAB 011 |
#define | SPACE 040 |
Functions | |
int | G_ascii_check (char *string) |
Removes non-ascii characters from buffer. More... | |
GIS Library - Remove non-ascii characters.
(C) 2001-2008 by the GRASS Development Team
This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.
Definition in file ascii_chk.c.
#define SPACE 040 |
Definition at line 21 of file ascii_chk.c.
Referenced by G_ascii_check().
#define TAB 011 |
Definition at line 20 of file ascii_chk.c.
Referenced by G_ascii_check().
int G_ascii_check | ( | char * | string | ) |
Removes non-ascii characters from buffer.
Updates string with non_ascii characters removed, except for tabs, which are turned into spaces.
[in,out] | string | buffer to have non-ascii characters removed |
Definition at line 34 of file ascii_chk.c.
Referenced by G3d_readHistory(), and G_read_history().