lua_pushliteral[-0, +1, m] const char *lua_pushliteral (lua_State *L, const char *s); This macro
string.len (s)"""a\000bc\000"
luaL_checklstring[-0, +0, v] const char *luaL_checklstring (lua_State *L, int arg, size_t *l);
io.lines ([filename, ···]) Opens the given file name in read mode and returns an iterator function that works like file:lines(···) over the opened file. When the
lua_tointeger[-0, +0, –] lua_Integer lua_tointeger (lua_State *L, int index); Equivalent to
luaL_addstring[-?, +?, m] void luaL_addstring (luaL_Buffer *B, const char *s); Adds the zero-terminated
os.date ([format [, time]]) Returns a string or a table containing date and time, formatted according to the given string format. If the time
lua_getstack[-0, +0, –] int lua_getstack (lua_State *L, int level, lua_Debug *ar); Gets information about
os.difftime (t2, t1) Returns the difference, in seconds, from time t1 to time t2 (where the times are values returned by
table.pack (···) Returns a new table with all parameters stored into keys 1, 2, etc. and with a field "n" with the total number of parameters. Note that the resulting
Page 32 of 36