io.input ([file]) When called with a file name, it opens the named file (in text mode), and sets its handle as the default input file. When called with a file handle, it simply
luaL_dofile[-0, +?, e] int luaL_dofile (lua_State *L, const char *filename); Loads and runs the
luaL_checkany[-0, +0, v] void luaL_checkany (lua_State *L, int arg); Checks whether the function
luaL_execresult[-0, +3, m] int luaL_execresult (lua_State *L, int stat); This function produces
debug.gethook ([thread]) Returns the current hook settings of the thread, as three values: the current hook function, the current hook mask, and the current hook count (as set
luaL_checkversion[-0, +0, v] void luaL_checkversion (lua_State *L); Checks whether the core running
luaL_pushresultsize[-?, +1, m] void luaL_pushresultsize (luaL_Buffer *B, size_t sz); Equivalent
lua_pushfstring[-0, +1, e] const char *lua_pushfstring (lua_State *L, const char *fmt, ...); Pushes
luaL_getmetatable[-0, +1, m] int luaL_getmetatable (lua_State *L, const char *tname); Pushes onto
coroutine.status (co) Returns the status of coroutine co, as a string: "running", if the coroutine is running (that is, it called status);
Page 9 of 36