Lua Unix Module.

$ luarocks install lunix

lunix is a bindings library module to common Unix system APIs. The module is regularly tested with Linux (glibc and musl), OS X, FreeBSD, NetBSD, OpenBSD, Solaris, and AIX. The best way to describe it is in contradistinction to luaposix, the most popular bindings module for Unix APIs in Lua.

Unlike luaposix, it strives to be as thread-safe as possible on the host platform. Interfaces like strerror_r and O_CLOEXEC are used throughout. The module even includes a novel solution for the inherently non-thread-safe umask system call, where calling umask from one thread might result in another thread creating a file with unsafe or unexpected permissions.


20170920-1197 days ago289 downloads
20170920-0221 days ago30 downloads
20170511-0267 days ago10 downloads
20161026-11 year ago92 downloads
20161026-02 years ago24 downloads
20150923-02 years ago17 downloads
scm-0dev2 years ago1 download

Dependency for

spawn, web-driver