lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Well, there could be a lua library that binds to the OS specific
method for getting this info for instance.  Does such a thing exist?
I'm looking for solutions on Windows, OSX, and Linux (Fedora Core 4).

wes

On 10/7/06, Gavin Wraith <gavin@wra1th.plus.com> wrote:
In message <1079b050610070337w25e55dder4a3596e548327c6c@mail.gmail.com>
you wrote:

> So that works for windows, but is there a POSIX or another OS agnostic
> method for doing this?

I do not see how there can be. It is entirely up to the OS to provide
information to an application about its past history, i.e. where in
a filing system it has been fetched from. It might have been fetched
from nowhere if it is stored in ROM. To go to an extreme example, what
about devices that do not support filing systems?

--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/