Skip to main content

io_read_line

Function io_read_line 

Source
pub fn io_read_line(
    args: &[ValueWord],
    ctx: &ModuleContext<'_>,
) -> Result<ValueWord, String>
Expand description

io.read_line(handle?) -> string

Read a line from an IoHandle (file or pipe). If no handle is given, reads from the current process’s stdin.