io
local io = require("@rodeo/io")Summary
Section titled “Summary”| Entry | Description |
|---|---|
| read | Reads a line from stdin (blocking). Returns the line without trailing newline. |
| stderr | Standard error stream handle. Pass to stream.write to write to stderr. |
| stdin | Standard input stream handle. Pass to stream.read to read from stdin. |
| stdout | Standard output stream handle. Pass to stream.write to write to stdout. |
Functions and Properties
Section titled “Functions and Properties”io.read
Section titled “io.read”Reads a line from stdin (blocking). Returns the line without trailing newline.
() -> stringio.stderr
Section titled “io.stderr”Standard error stream handle. Pass to stream.write to write to stderr.
any) :: stream.StreamHandleio.stdin
Section titled “io.stdin”Standard input stream handle. Pass to stream.read to read from stdin.
any) :: stream.StreamHandleio.stdout
Section titled “io.stdout”Standard output stream handle. Pass to stream.write to write to stdout.
any) :: stream.StreamHandle