Functions

Utils

Functions

void di_init (const char *progname)
const char * di_progname_get (void)

Function Documentation

void di_init ( const char *  progname  ) 

Inits the lib

Parameters:
progname name of the called binary

Referenced by di_system_init().

{
  progname = strdup (_progname);
}

const char* di_progname_get ( void   ) 

Get the name of the called binary

Returns:
name

{
  return progname;
}