Adding some types and functions from the stdio.h file.

This commit is contained in:
Myrddin Dundragon 2017-10-08 01:25:33 -04:00
parent 6fc48f7a2d
commit 32f4b20097

15
src/c/stdio.rs Normal file
View 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;
}