GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
intr_char.c File Reference
#include <grass/gis.h>
#include <grass/config.h>
#include <sgtty.h>
Include dependency graph for intr_char.c:

Go to the source code of this file.

Macros

#define TYPE   tchars
 
#define C   t_intrc
 
#define GET   TIOCGETC
 

Functions

char G_intr_char (void)
 return interrupt char More...
 

Macro Definition Documentation

#define GET   TIOCGETC

Definition at line 18 of file intr_char.c.

Referenced by G_intr_char().

#define TYPE   tchars

Definition at line 16 of file intr_char.c.

Referenced by G_intr_char().

Function Documentation

char G_intr_char ( void  )

return interrupt char

This routine returns the user's keyboard interrupt character. This is the character that generates the SIGINT signal from the keyboard.

Parameters
~
Returns
char

Definition at line 33 of file intr_char.c.

References GET, and TYPE.