Function nstd_sys::io::nstd_io_read

source ·
#[no_mangle]
pub extern "C" fn nstd_io_read() -> NSTDIOStringResult<'static>
Available on crate feature nstd_io only.
Expand description

Reads a line of UTF-8 input from stdin, discarding the newline character.

Returns

NSTDIOStringResult input - The UTF-8 input from stdin on success and the I/O operation error code on failure.