diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-07-12 11:32:08 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2005-07-12 11:32:08 -0300 |
commit | 80ac5e83fdc07d14c55056365aaf370436fbeb4e (patch) | |
tree | f4bf71357190c7e545a82fc48c93c03e12c9a75e /liolib.c | |
parent | 289b5dc67ae79423b35347ef7f8277ebc42d704a (diff) | |
download | lua-80ac5e83fdc07d14c55056365aaf370436fbeb4e.tar.gz lua-80ac5e83fdc07d14c55056365aaf370436fbeb4e.tar.bz2 lua-80ac5e83fdc07d14c55056365aaf370436fbeb4e.zip |
details (alphabetical order for list of functions)
Diffstat (limited to 'liolib.c')
-rw-r--r-- | liolib.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: liolib.c,v 2.62 2005/06/06 13:30:52 roberto Exp roberto $ | 2 | ** $Id: liolib.c,v 2.63 2005/06/06 18:42:21 roberto Exp roberto $ |
3 | ** Standard I/O (and system) library | 3 | ** Standard I/O (and system) library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -460,12 +460,12 @@ static int f_flush (lua_State *L) { | |||
460 | 460 | ||
461 | 461 | ||
462 | static const luaL_reg iolib[] = { | 462 | static const luaL_reg iolib[] = { |
463 | {"input", io_input}, | ||
464 | {"output", io_output}, | ||
465 | {"lines", io_lines}, | ||
466 | {"close", io_close}, | 463 | {"close", io_close}, |
467 | {"flush", io_flush}, | 464 | {"flush", io_flush}, |
465 | {"input", io_input}, | ||
466 | {"lines", io_lines}, | ||
468 | {"open", io_open}, | 467 | {"open", io_open}, |
468 | {"output", io_output}, | ||
469 | {"popen", io_popen}, | 469 | {"popen", io_popen}, |
470 | {"read", io_read}, | 470 | {"read", io_read}, |
471 | {"tmpfile", io_tmpfile}, | 471 | {"tmpfile", io_tmpfile}, |
@@ -476,13 +476,13 @@ static const luaL_reg iolib[] = { | |||
476 | 476 | ||
477 | 477 | ||
478 | static const luaL_reg flib[] = { | 478 | static const luaL_reg flib[] = { |
479 | {"close", io_close}, | ||
479 | {"flush", f_flush}, | 480 | {"flush", f_flush}, |
480 | {"read", f_read}, | ||
481 | {"lines", f_lines}, | 481 | {"lines", f_lines}, |
482 | {"read", f_read}, | ||
482 | {"seek", f_seek}, | 483 | {"seek", f_seek}, |
483 | {"setvbuf", f_setvbuf}, | 484 | {"setvbuf", f_setvbuf}, |
484 | {"write", f_write}, | 485 | {"write", f_write}, |
485 | {"close", io_close}, | ||
486 | {"__gc", io_gc}, | 486 | {"__gc", io_gc}, |
487 | {"__tostring", io_tostring}, | 487 | {"__tostring", io_tostring}, |
488 | {NULL, NULL} | 488 | {NULL, NULL} |