GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
V_support.c File Reference

Interactive support functions. More...

#include <grass/config.h>
#include <stdio.h>
#include <pwd.h>
#include <unistd.h>
#include <sys/types.h>
#include <curses.h>
#include <grass/gis.h>
#include <grass/vask.h>
#include <grass/glocale.h>
Include dependency graph for V_support.c:

Go to the source code of this file.

Functions

int V__dump_window (void)
 Dumps screen to file. More...
 
void V__remove_trail (int ans_col, char *answer)
 Remove trailing text from answer? More...
 

Detailed Description

Interactive support functions.

(C) 1999-2009 by the GRASS Development Team

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Author
GRASS GIS Development Team
Date
1999-2009

Definition in file V_support.c.

Function Documentation

int V__dump_window ( void  )

Dumps screen to file.

Returns
0 on success
-1 on error

Definition at line 50 of file V_support.c.

References fclose(), file, G_home(), NULL, sprintf(), and V_error().

Referenced by V_call().

int V__remove_trail ( int  ans_col,
char *  answer 
)

Remove trailing text from answer?

Parameters
[in]ans_col
[in]answer
Returns
always returns 0;

Definition at line 95 of file V_support.c.

Referenced by V_call().