Available on crate feature
io only.Expand description
Provides functionality for interacting with the standard I/O streams.
Modules§
- stderr
- A handle to the standard error stream.
- stdin
- A handle to the standard input stream.
- stdout
- A handle to the standard output stream.
Enums§
- NSTDIO
Error - An error type for I/O operations.
Functions§
- nstd_
io_ ⚠print - Writes a string slice to stdout.
- nstd_
io_ ⚠print_ line - Writes a string slice to stdout followed by a new line.
- nstd_
io_ read - Reads a line of UTF-8 input from stdin, discarding the newline character.
- nstd_
io_ read_ line - Reads a line of UTF-8 input from stdin.
Type Aliases§
- NSTDIO
Buffer Result - A result type that yields an
NSTDVecon success and an I/O operation error code on failure. - NSTDIO
Result - A result type that yields an
NSTDUIntrepresenting the number of bytes read or written by an I/O operation on success and an I/O operation error code on failure. - NSTDIO
String Result - A result type that yields a UTF-8 string on success and an I/O operation error code on failure.