lua-users home
lua-l archive

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


philanc, any chance that you could add signal() to your low-level Linux library?

So you can set Lua functions to receive Linux signals? (Supporting fork() without signal() is zombie heaven.)

This would make your microlibrary a replacement for luaposix for pretty much everything I do with it, at least :-)

Oh, and at the risk of asking for too much, getpwnam() and getpwuid() would also be great because they are handy when supporting privilege drops to a low-powered account. These are easy to do in pure Lua by reading /etc/passwd, of course, so perhaps they don’t belong in a low-level library.

Also glob() would be a handy addition to the file/directory functions but is probably too high level for a library like this as well.