#stream #libc #file-io #ffi #no-alloc

no-std cstream

utilities for libc::FILE streams ‘c streams’

5 releases

0.1.4 May 20, 2024
0.1.3 May 10, 2024
0.1.2 May 10, 2024
0.1.1 May 10, 2024
0.1.0 May 10, 2024

#601 in Embedded development


Used in fopencookie

MIT/Apache

21KB
429 lines

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.

lib.rs:

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.

Dependencies

~43KB