Home | History | Annotate | Download | only in src

Lines Matching defs:tofile

174 static FILE *tofile (lua_State *L) {
210 tofile(L); /* make sure argument is an open stream */
309 tofile(L); /* check that it's a valid file handle */
350 tofile(L); /* check that it's a valid file handle */
362 tofile(L); /* check that it's a valid file handle */
585 return g_read(L, tofile(L), 2);
650 FILE *f = tofile(L);
659 FILE *f = tofile(L);
678 FILE *f = tofile(L);
693 return luaL_fileresult(L, fflush(tofile(L)) == 0, NULL);