which can be emulated using qemu (for, hopefully, a test suite). Currently it generates images which won't run because there's no RAM.
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			196 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			196 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* $Source$
 | |
|  * $State$
 | |
|  * $Revision$
 | |
|  */
 | |
| 
 | |
| #include <stdlib.h>
 | |
| #include <errno.h>
 | |
| #include <unistd.h>
 | |
| #include <time.h>
 | |
| #include "libsys.h"
 | |
| 
 | |
| time_t time(time_t* t)
 | |
| {
 | |
| 	if (t)
 | |
| 		*t = 0;
 | |
| 	return 0;
 | |
| }
 |