progrm_nme.c File Reference

#include <string.h>
#include <grass/gis.h>

Include dependency graph for progrm_nme.c:

Go to the source code of this file.

Functions

const char * G_program_name (void)
 return module name
int G_set_program_name (const char *s)


Function Documentation

const char* G_program_name ( void   ) 

return module name

Routine returns the name of the module as set by the call to G_gisinit.

Parameters:
~ 
Returns:
char *

Definition at line 33 of file progrm_nme.c.

References name.

Referenced by G_done_msg(), G_recreate_command(), G_short_history(), and G_usage().

int G_set_program_name ( const char *  s  ) 

Definition at line 38 of file progrm_nme.c.

References G_basename(), G_free(), G_is_dirsep(), G_store(), and name.

Referenced by G__gisinit().


Generated on Thu Jul 16 13:20:53 2009 for GRASS Programmer's Manual by  doxygen 1.5.6