Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend Lua unix module #509

Open
4 of 5 tasks
cahirwpz opened this issue Dec 31, 2018 · 1 comment
Open
4 of 5 tasks

Extend Lua unix module #509

cahirwpz opened this issue Dec 31, 2018 · 1 comment

Comments

@cahirwpz
Copy link
Owner

cahirwpz commented Dec 31, 2018

We need extra functionality:

  • signal handling (signal handlers and sigaction wrapper)
  • getopt (for command line parsing)
  • time conversion (localtime and mktime)
  • throw a pair {[err] = errno, [msg] = sys_errlist[errno]} instead of just a number
  • access to environment variables through environ table

In long run we could try to integrate luaposix with our code base.

Fortunately, most libraries available at LuaRocks are MIT licensed :)

@cahirwpz
Copy link
Owner Author

cahirwpz commented Jan 9, 2019

localtime and mktime are not needed. They're implemented by os.date and os.time respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant