#stream #libc #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

#545 in Embedded development

Download history 203/week @ 2024-05-06 5/week @ 2024-05-13 157/week @ 2024-05-20

365 downloads per month
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