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