unctrl.c File Reference

#include <grass/gis.h>

Include dependency graph for unctrl.c:

Go to the source code of this file.

Functions

char * G_unctrl (int c)
 printable version of control character


Function Documentation

char* G_unctrl ( int  c  ) 

printable version of control character

This routine returns a pointer to a string which contains an English-like representation for the character c. This is useful for nonprinting characters, such as control characters. Control characters are represented by ctrl-C, e.g., control A is represented by ctrl-A. 0177 is represented by DEL/RUB. Normal characters remain unchanged.

Parameters:
int c
Returns:
char *

Definition at line 17 of file unctrl.c.


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