v: 2
f: 'io.lua'
b:
- a: 'function io.close(file) end'
  g: 'Equivalent to `file:close()`. Without a file, closes the default output'
  r: [18, 0, 21, 21]
  e:
  - ['iolib.close', 'd', doc, [18, 0, 21, 0], '9fd22cd41017890e']
- a: 'function io.flush() end'
  g: 'Equivalent to `io.output():flush()`.'
  r: [24, 0, 25, 40]
  e:
  - ['iolib.flush', 'd', doc, [24, 0, 25, 40], '77b68d0b81e2a6ec']
- a: 'function io.input(file) end'
  g: 'When called with a file name, it opens the named file (in text mode), and'
  r: [28, 0, 37, 16]
  e:
  - ['iolib.input', 'd', doc, [28, 0, 36, 0], '30a4cb7aed17b4e2']
- a: 'function io.lines(filename, ...) end'
  g: 'Opens the given file name in read mode and returns an iterator function'
  r: [40, 0, 54, 22]
  e:
  - ['iolib.lines', 'd', doc, [40, 0, 53, 0], '6bf53c14d9a3e328']
- a: 'function io.open(filename, mode) end'
  g: 'This function opens a file, in the mode specified in the string `mode`. In'
  r: [59, 0, 77, 36]
  e:
  - ['iolib.open', 'd', doc, [59, 0, 74, 0], '6d395e611648ebdf']
- a: 'function io.output(file) end'
  g: 'Similar to `io.input`, but operates over the default output file.'
  r: [80, 0, 83, 16]
  e:
  - ['iolib.output', 'd', doc, [80, 0, 82, 0], '4e45ea3c8fb9457c']
- a: 'function io.popen(prog, mode) end'
  g: 'This function is system dependent and is not available on all platforms.'
  r: [86, 0, 94, 16]
  e:
  - ['iolib.popen', 'd', doc, [86, 0, 92, 0], 'be397ad0e73d2933']
- a: '---'
  g: '@alias std.readmode'
  r: [97, 0, 107, 63]
  e:
  - ['std.readmode.item.n', 'i:n', tail, [100, 12, 100, 92], '09724402d824ca77', ' ']
  - ['std.readmode.item.a', 'i:a', tail, [101, 12, 101, 70], '0b0543502b6fe843', ' ']
  - ['std.readmode.item.l', 'i:l', tail, [102, 12, 102, 61], '2232740e3160cdc8', ' ']
  - ['std.readmode.item.L', 'i:L', tail, [103, 12, 103, 63], '4942667b1190a4de', ' ']
  - ['std.readmode.item.*n', 'i:*n', tail, [104, 12, 104, 92], '09724402d824ca77', ' ']
  - ['std.readmode.item.*a', 'i:*a', tail, [105, 12, 105, 70], '0b0543502b6fe843', ' ']
  - ['std.readmode.item.*l', 'i:*l', tail, [106, 12, 106, 61], '2232740e3160cdc8', ' ']
  - ['std.readmode.item.*L', 'i:*L', tail, [107, 12, 107, 63], '4942667b1190a4de', ' ']
- a: 'function io.read(...) end'
  g: 'Equivalent to `io.input():read(···)`.'
  r: [109, 0, 114, 14]
  e:
  - ['iolib.read', 'd', doc, [109, 0, 111, 0], '771eb15e50f555d7']
- a: 'function io.tmpfile() end'
  g: 'In case of success, returns a handle for a temporary file. This file is'
  r: [117, 0, 120, 16]
  e:
  - ['iolib.tmpfile', 'd', doc, [117, 0, 120, 0], '8c5fee923fff7b7d']
- a: 'function io.type(obj) end'
  g: 'Checks whether `obj` is a valid file handle. Returns the string "`file`"'
  r: [123, 0, 128, 36]
  e:
  - ['iolib.type', 'd', doc, [123, 0, 127, 0], 'a9422cffda6cfcf8']
- a: 'function io.write(...) end'
  g: 'Equivalent to `io.output():write(···)`.'
  r: [131, 0, 135, 36]
  e:
  - ['iolib.write', 'd', doc, [131, 0, 133, 0], '2a7a93b6b492d6e7']
- a: 'local file = {}'
  g: 'File object'
  r: [138, 0, 139, 15]
  e:
  - ['file', 'd', doc, [138, 0, 139, 0], '44f701b90e451a28']
- a: 'function file:close() end'
  g: '@version >5.2'
  r: [142, 0, 151, 52]
  e:
  - ['file.close@>5.2', 'd', doc, [143, 0, 150, 0], '506043bf254a978d']
- a: 'function file:close() end'
  g: '@version 5.1, JIT'
  r: [154, 0, 160, 36]
  e:
  - ['file.close@5.1,JIT', 'd', doc, [155, 0, 159, 0], '8b2730ffb16aacd6']
- a: 'function file:flush() end'
  g: 'Saves any written data to `file`.'
  r: [163, 0, 166, 36]
  e:
  - ['file.flush', 'd', doc, [163, 0, 165, 0], 'cb93f3d56af1b6ff']
- a: 'function file:lines(...) end'
  g: 'Returns an iterator function that, each time it is called, reads the file'
  r: [169, 0, 180, 37]
  e:
  - ['file.lines', 'd', doc, [169, 0, 180, 0], '2f9df86b5b29e9c5']
- a: 'function file:read(...) end'
  g: 'Reads the file `file`, according to the given formats, which specify'
  r: [185, 0, 212, 14]
  e:
  - ['file.read', 'd', doc, [185, 0, 209, 0], 'ce15116fe5daabec']
- a: 'function file:seek(whence, offset) end'
  g: 'Sets and gets the file position, measured from the beginning of the'
  r: [215, 0, 236, 36]
  e:
  - ['file.seek', 'd', doc, [215, 0, 232, 0], 'bb0f0c4d8ca400b2']
- a: 'function file:setvbuf(mode, size) end'
  g: 'Sets the buffering mode for an output file. There are three available'
  r: [239, 0, 252, 24]
  e:
  - ['file.setvbuf', 'd', doc, [239, 0, 251, 0], 'b023f23bc1af6ca7']
- a: 'function file:write(...) end'
  g: 'Writes the value of each of its arguments to the `file`. The arguments'
  r: [255, 0, 263, 36]
  e:
  - ['file.write', 'd', doc, [255, 0, 261, 0], '868914df6d494b96']
- a: 'io.stderr = nil'
  g: '`io.stderr`: Standard error.'
  r: [266, 0, 267, 14]
  e:
  - ['iolib.stderr', 'd', doc, [266, 0, 267, 0], '60bd1ed85c903962']
- a: 'io.stdin = nil'
  g: '`io.stdin`: Standard in.'
  r: [270, 0, 271, 14]
  e:
  - ['iolib.stdin', 'd', doc, [270, 0, 271, 0], '27488b456d44a88d']
- a: 'io.stdout = nil'
  g: '`io.stdout`: Standard out.'
  r: [274, 0, 275, 14]
  e:
  - ['iolib.stdout', 'd', doc, [274, 0, 275, 0], 'ea3fb084a6de193b']
