XNLSprogpath
| XNLSprogpath | 
  Purpose
 
 Get the full path to the running program.
 
  Synopsis
 
const char *XNLSprogpath(const char *name);
 
  Argument
 
| 
     name 
     | 
     Program name or path (
     e.g.
     argv[0]) encoded in UTF-8.
     | 
  Return value
 
 Full path to running program or
 name in case of error.
  Further information
 
 1. On Posix systems the argument
 name should be
 argv[0]: it is expanded in order to get a full path. Under Windows it is not used (unless an error occurs).
 
 2. The string returned by this function is the result of a call to
 XNLSconvstrfrom.
 
  Related topics
 
 
