ascii_chk.c File Reference

#include <grass/gis.h>

Include dependency graph for ascii_chk.c:

Go to the source code of this file.

Defines

#define TAB   011
#define SPACE   040

Functions

int G_ascii_check (char *string)
 remove non-ascii characters from buffer


Define Documentation

#define SPACE   040

Definition at line 4 of file ascii_chk.c.

Referenced by G_ascii_check().

#define TAB   011

Definition at line 3 of file ascii_chk.c.

Referenced by G_ascii_check().


Function Documentation

int G_ascii_check ( char *  string  ) 

remove non-ascii characters from buffer

returns string with non_ascii characters removed, except for tabs which are turned into spaces.

Parameters:
*string buffer to have non-ascii characters removed
Returns:
int

Definition at line 16 of file ascii_chk.c.

References SPACE, and TAB.

Referenced by G_read_history().


Generated on Sun Apr 6 17:32:15 2008 for GRASS by  doxygen 1.5.5