Home
last modified time | relevance | path

Searched refs:luaL_fileresult (Results 1 – 4 of 4) sorted by relevance

/l4re-core-master/lua/lib/contrib/src/
A Dliolib.c249 return luaL_fileresult(L, (res == 0), NULL); in io_fclose()
276 return (p->f == NULL) ? luaL_fileresult(L, 0, filename) : 1; in io_open()
297 return (p->f == NULL) ? luaL_fileresult(L, 0, filename) : 1; in io_popen()
304 return (p->f == NULL) ? luaL_fileresult(L, 0, NULL) : 1; in io_tmpfile()
607 return luaL_fileresult(L, 0, NULL); in g_read()
681 else return luaL_fileresult(L, status, NULL); in g_write()
708 return luaL_fileresult(L, 0, NULL); /* error */ in f_seek()
723 return luaL_fileresult(L, res == 0, NULL); in f_setvbuf()
729 return luaL_fileresult(L, fflush(getiofile(L, IO_OUTPUT)) == 0, NULL); in io_flush()
734 return luaL_fileresult(L, fflush(tofile(L)) == 0, NULL); in f_flush()
A Dloslib.c158 return luaL_fileresult(L, remove(filename) == 0, filename); in os_remove()
165 return luaL_fileresult(L, rename(fromname, toname) == 0, NULL); in os_rename()
A Dlauxlib.h81 LUALIB_API int (luaL_fileresult) (lua_State *L, int stat, const char *fname); variable
A Dlauxlib.c245 LUALIB_API int luaL_fileresult (lua_State *L, int stat, const char *fname) { in luaL_fileresult() function
287 return luaL_fileresult(L, 0, NULL); in luaL_execresult()

Completed in 9 milliseconds