blob: a016b867ea2d3881a010562e5e5002335f22c2ad [file] [log] [blame]
Wayne Davisoncc248aa2002-07-27 18:32:25 +00001/** \ingroup popt
2 * \file popt/findme.h
3 */
4
5/* (C) 1998-2000 Red Hat, Inc. -- Licensing details are in the COPYING
Martin Pool62402cb2001-02-22 13:01:09 +00006 file accompanying popt source distributions, available from
Wayne Davisoncc248aa2002-07-27 18:32:25 +00007 ftp://ftp.rpm.org/pub/rpm/dist. */
Martin Pool62402cb2001-02-22 13:01:09 +00008
9#ifndef H_FINDME
10#define H_FINDME
11
Wayne Davisoncc248aa2002-07-27 18:32:25 +000012/**
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 Pool62402cb2001-02-22 13:01:09 +000019
20#endif