SKS OCDoc
OpenComputers
Computronics
Minitel

module/io.lua

print(...)

Writes each argument to the default output stream, separated by space.

io.output(fd^table^): table

Sets the default output stream to fd if provided, either as a buffer as a path. Returns the default output stream.

io.read(...)

Reads from the default input stream.

io.input(fd^table^): table

Sets the default input stream to fd if provided, either as a buffer as a path. Returns the default input stream.

io.write(...)

Writes its arguments to the default output stream.

io.open(path^string^, mode^string^): table

Open file path in mode. Returns a buffer object.

© ShadowKat Studios
The software used to generate this page is licensed under the Mozilla Public License version 2 and can be found here