blob: c42b05bc6759fd244a5afde3ed9c2263b509cf73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
local mymod = {}
posix = require("posix")
function mymod.myfunc(arg1, arg2)
return "hello from mymod.myfunc. arg1 is '"..tostring(arg1).."' and arg2 is '"..tostring(arg2).."'"
end
function mymod.getpid(...)
return posix.getpid(...)
end
return mymod
|