File: posix.lua

package info (click to toggle)
lua-posix 1.0-4etch1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 104 kB
  • ctags: 122
  • sloc: ansic: 863; sh: 55; makefile: 49
file content (10 lines) | stat: -rw-r--r-- 210 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
-- posix.lua
-- support code for posix library
-- usage lua -lposix ...

local function so(x)
	local SOPATH= os.getenv"LUA_SOPATH" or "./"
	assert(loadlib(SOPATH.."l"..x..".so","luaopen_"..x))()
end

so"posix"