Adding some types and functions from the stdio.h file.
This commit is contained in:
		
							
								
								
									
										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;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user