Crate cstream

source ·
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 becomes gets, etc.
  • An Io wrapper, which implements io traits.

Structs§

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§