 056ac0a0d3
			
		
	
	
		056ac0a0d3
		
	
	
	
	
		
			
			mktime, tzset, asctime, ctime, gmtime, localtime, strftime with zoneinfo implementations in src/commands/zoneinfo, referenced from src/lib/stdtime/Makefile.in.
		
			
				
	
	
		
			28 lines
		
	
	
		
			551 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			551 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
| sys/time.h
 | |
| */
 | |
| 
 | |
| #ifndef _SYS__TIME_H
 | |
| #define _SYS__TIME_H
 | |
| 
 | |
| #include <ansi.h>
 | |
| 
 | |
| /* Open Group Base Specifications Issue 6 (not complete) */
 | |
| struct timeval
 | |
| {
 | |
| 	long /*time_t*/ tv_sec;
 | |
| 	long /*useconds_t*/ tv_usec;
 | |
| };
 | |
| 
 | |
| struct timezone {
 | |
| 	int     tz_minuteswest; /* minutes west of Greenwich */
 | |
| 	int     tz_dsttime;     /* type of dst correction */
 | |
| };
 | |
| 
 | |
| int gettimeofday(struct timeval *_RESTRICT tp, void *_RESTRICT tzp);
 | |
| 
 | |
| /* Compatibility with other Unix systems */
 | |
| int settimeofday(const struct timeval *tp, const void *tzp);
 | |
| 
 | |
| #endif /* _SYS__TIME_H */
 |