Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

popt/findme.h File Reference

More...

Go to the source code of this file.

Functions

const char * findProgramPath (const char *argv0)
 Return absolute path to executable by searching PATH.


Detailed Description

Definition in file findme.h.


Function Documentation

const char* findProgramPath const char *  argv0  ) 
 

Return absolute path to executable by searching PATH.

Parameters:
argv0 name of executable
Returns:
(malloc'd) absolute path to executable (or NULL)

Definition at line 12 of file findme.c.

References alloca(), getenv(), X_OK, and xstrdup().

Referenced by execCommand().


Generated on Fri Jan 21 18:53:14 2005 for rpm by doxygen 1.3.6