rust-cfile
Rust bindings to C FILE stream
Examples
use *;
use ;
use cfile;
// open a tempfile
let mut f = tmpfile.unwrap;
// write something to the stream
assert_eq!;
// force to flush the stream
f.flush.unwrap;
// seek to the beginning of stream
assert_eq!;
let mut r = new;
let mut s = String new;
// read back the text
assert_eq!;
assert_eq!;