GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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 More...
 
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 render::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 render::name.

Referenced by G__gisinit().