GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
#include <string.h>
#include <unistd.h>
#include <stdlib.h>
#include <grass/gis.h>
#include <grass/glocale.h>
Go to the source code of this file.
Functions | |
int | G_ask_datum_name (char *datumname, char *ellpsname) |
ask for a valid datum name More... | |
int G_ask_datum_name | ( | char * | datumname, |
char * | ellpsname | ||
) |
ask for a valid datum name
This function asks the user interactively for a valid datum name from the datum table. The datum name is stored in the character array pointed to by datum. The function returns 1 on sucess, -1 if no datum was entered on command line and 0 on internal error.
datum |
Definition at line 43 of file get_datum_name.c.
References buff, fclose(), G_ask_ellipse_name(), G_convert_dirseps_to_host(), G_datum_description(), G_datum_ellipsoid(), G_datum_name(), G_free(), G_get_datum_by_name(), G_gets(), G_strcasecmp(), G_strip(), G_system(), G_tempfile(), G_warning(), getenv(), NULL, and sprintf().