Advertisement
sylvanaar

Untitled

Nov 21st, 2011
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.69 KB | None | 0 0
  1. --
  2. -- Created by IntelliJ IDEA.
  3. -- User: jon
  4. -- Date: 11/5/11
  5. -- Time: 9:53 AM
  6. -- To change this template use File | Settings | File Templates.
  7. --
  8.  
  9. local file = {}
  10.  
  11. function file:close() end
  12. function file:flush() end
  13. function file:lines() end
  14. function file:read() end
  15. function file:seek() end
  16. function file:setvbuf() end
  17. function file:write() end
  18.  
  19.  
  20. module "io"
  21.  
  22. stdin  = file
  23. stdout = file
  24. stderr = file
  25.  
  26. function open() return file end
  27. function tmpfile() return file end
  28.  
  29. function close() end
  30. function flush() end
  31. function input() end
  32. function lines() end
  33. function output() end
  34. function popen() end
  35. function read() end
  36. function type() end
  37. function write() end
  38.  
  39.  
  40.  
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement