Expand description
Utilities for libc::FILE
streams ‘c streams’
§Features
- Owned and borrowed c streams.
Mirroring
std::os::fd
’s API. - Rusty wrappers around
libc
’s stream-oriented functions.libc::fgets
becomesgets
, etc. - An
Io
wrapper, which implementsio
traits.
Structs§
- A borrowed
RawCStream
. - A capture of the error indicator on a
RawCStream
. - An owned
RawCStream
. Thislibc::fclose
s the stream on drop. It is guaranteed that nobody else will close the stream.
Enums§
Traits§
- A trait to borrow a stream from an underlying object.
- A trait to extract the raw stream from an underlying object.
- A trait to express the ability to construct an object from a raw stream.
- A trait to express the ability to consume an object and acquire ownership of its raw stream.
Functions§
Type Aliases§
- A
libc::FILE
stream.