20000317 sourceware import
This commit is contained in:
		
							
								
								
									
										14
									
								
								libgloss/mn10300/fstat.c
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								libgloss/mn10300/fstat.c
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
#include <_ansi.h>
 | 
			
		||||
#include <sys/types.h>
 | 
			
		||||
#include <sys/stat.h>
 | 
			
		||||
#include "trap.h"
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
int
 | 
			
		||||
_fstat (int file,
 | 
			
		||||
	struct stat *st)
 | 
			
		||||
{
 | 
			
		||||
  st->st_mode = S_IFCHR;
 | 
			
		||||
  st->st_blksize = 4096;
 | 
			
		||||
  return 0;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user