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

popt/findme.c File Reference

More...

#include "system.h"
#include "findme.h"

Go to the source code of this file.

Functions

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


Detailed Description

Definition in file findme.c.


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.


Generated on Tue Sep 17 16:00:05 2002 for rpm by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002