lua-users home
lua-l archive

Re: about lposix

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


On Tue, Oct 17, 2006 at 05:01:15PM +0200, Natanael Copa wrote:
> What do you think about this as a start:
> 
> env.getenv(name)
> env.setenv(name, value)
> env.environ()
What about:
 env[name]
 env[name] = value
> I'd like to add "glob" but I don't know how it can be implemented in windows.
Worst case - code it by hand :-(. Better would be to find an
implementation, possibly one in glibc. There has to be one somewhere...
Also, what about a glob.glob() that takes flags, and that returns an
iterator, as lfs.dir() does?
Cheers,
Sam

AltStyle によって変換されたページ (->オリジナル) /