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.

Versions

20220331-11 year ago1,216 downloads
20170920-15 years ago1,801 downloads
20170920-05 years ago66 downloads
20170511-05 years ago46 downloads
20161026-17 years ago128 downloads
20161026-07 years ago74 downloads
20150923-07 years ago53 downloads
scm-0dev7 years ago(revision: 2)3 downloads

Dependency for

daemonparts, diskqueue, spawn, web-driver

Labels

Manifests