Adding some types and functions from the stdio.h file.
This commit is contained in:
parent
6fc48f7a2d
commit
32f4b20097
15
src/c/stdio.rs
Normal file
15
src/c/stdio.rs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
use binding::{CChar, CInt};
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
pub enum FILE
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
extern
|
||||||
|
{
|
||||||
|
pub fn fileno(stream: *mut FILE) -> CInt;
|
||||||
|
pub fn fopen(filename: *const CChar, mode: *const CChar) -> *mut FILE;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user