GRASS Programmer's Manual  6.4.1(2011)
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.

Defines

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

Functions

char G_intr_char (void)
 return interrupt char

Define Documentation

#define C   t_intrc

Definition at line 17 of file intr_char.c.

#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.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines