Skip to content

io

local io = require("@rodeo/io")
EntryDescription
readReads a line from stdin (blocking). Returns the line without trailing newline.
stderrStandard error stream handle. Pass to stream.write to write to stderr.
stdinStandard input stream handle. Pass to stream.read to read from stdin.
stdoutStandard output stream handle. Pass to stream.write to write to stdout.

Reads a line from stdin (blocking). Returns the line without trailing newline.

() -> string

Standard error stream handle. Pass to stream.write to write to stderr.

any) :: stream.StreamHandle

Standard input stream handle. Pass to stream.read to read from stdin.

any) :: stream.StreamHandle

Standard output stream handle. Pass to stream.write to write to stdout.

any) :: stream.StreamHandle