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::fgetsbecomesgets, etc. - An
Iowrapper, which implementsiotraits.
Structs§
- A borrowed
RawCStream. - A capture of the error indicator on a
RawCStream. - An owned
RawCStream. Thislibc::fcloses 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::FILEstream.