diff options
Diffstat (limited to 'lem/io/file.c')
-rw-r--r-- | lem/io/file.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lem/io/file.c b/lem/io/file.c index 9d54fcb..347414a 100644 --- a/lem/io/file.c +++ b/lem/io/file.c @@ -519,3 +519,10 @@ file_lock(lua_State *T) lua_settop(T, 1); return lua_yield(T, 1); } + +static int +file_print(lua_State *T) +{ + io_print(T); + return file_write(T); +} |