Re: Making luaconf.h settings available in Lua
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Making luaconf.h settings available in Lua
- From: Reuben Thomas <rrt@...>
- Date: 2011年2月27日 13:49:07 +0000
On 27 February 2011 00:46, Miles Bader <miles@gnu.org> wrote:
> Sam Roberts <vieuxtech@gmail.com> writes:
>
> [Looking at argv[0] and possibly searching getenv("PATH") _often_ works,
> but is not guaranteed.]
While there's still no guarantee, gnulib gives you a best-effort API
for this, get_full_program_name, which lets you take advantage of
future improvements for free.
--
http://rrt.sc3d.org