Skip to content

Lua utility library to retrieve system constants values, based on the architecture this library has been complied for.

License

Notifications You must be signed in to change notification settings

guoyu07/lua-system-constants

 
 

Repository files navigation

lua_system_constants

Lua utility library to retrieve system constants values, based on the architecture this library has been complied for.

Usage

local system_constants = require "lua_system_constants"

print(system_constants.O_WRONLY())
print(system_constants.O_CREAT())
print(system_constants.O_APPEND())
print(system_constants.S_IWUSR())
print(system_constants.S_IRUSR())
print(system_constants.S_IXUSR())

About

Lua utility library to retrieve system constants values, based on the architecture this library has been complied for.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 66.3%
  • Lua 16.9%
  • Makefile 16.8%