stdio using File
Created by: pi-pi3
The C standard doesn't specify any layout of the FILE
struct and everywhere it's used, it's only used as a pointer FILE *
. Would it be fine to make FILE
a type alias of the Rust File
type and define the f
-family io operations in terms of std::fs::File
?