| Wayne Davison | cc248aa | 2002-07-27 18:32:25 +0000 | [diff] [blame] | 1 | /** \ingroup popt |
| 2 | * \file popt/findme.h |
| 3 | */ |
| 4 | |
| 5 | /* (C) 1998-2000 Red Hat, Inc. -- Licensing details are in the COPYING |
| Martin Pool | 62402cb | 2001-02-22 13:01:09 +0000 | [diff] [blame] | 6 | file accompanying popt source distributions, available from |
| Wayne Davison | cc248aa | 2002-07-27 18:32:25 +0000 | [diff] [blame] | 7 | ftp://ftp.rpm.org/pub/rpm/dist. */ |
| Martin Pool | 62402cb | 2001-02-22 13:01:09 +0000 | [diff] [blame] | 8 | |
| 9 | #ifndef H_FINDME |
| 10 | #define H_FINDME |
| 11 | |
| Wayne Davison | cc248aa | 2002-07-27 18:32:25 +0000 | [diff] [blame] | 12 | /** |
| 13 | * Return absolute path to executable by searching PATH. |
| 14 | * @param argv0 name of executable |
| 15 | * @return (malloc'd) absolute path to executable (or NULL) |
| 16 | */ |
| 17 | /*@null@*/ const char * findProgramPath(/*@null@*/ const char * argv0) |
| 18 | /*@*/; |
| Martin Pool | 62402cb | 2001-02-22 13:01:09 +0000 | [diff] [blame] | 19 | |
| 20 | #endif |