Subversion Repositories tendra.SVN

Rev

Rev 73 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 73 Rev 75
Line -... Line 1...
-
 
1
#ifndef __TENDRA_TIME_H
-
 
2
#define __TENDRA_TIME_H
-
 
3
 
-
 
4
#include <sys/types.h>
-
 
5
 
-
 
6
 
1
struct tm {
7
struct tm {
2
	int	tm_sec;		/* seconds after the minute [0-60] */
8
	int	tm_sec;		/* seconds after the minute [0-60] */
3
	int	tm_min;		/* minutes after the hour [0-59] */
9
	int	tm_min;		/* minutes after the hour [0-59] */
4
	int	tm_hour;	/* hours since midnight [0-23] */
10
	int	tm_hour;	/* hours since midnight [0-23] */
5
	int	tm_mday;	/* day of the month [1-31] */
11
	int	tm_mday;	/* day of the month [1-31] */
Line 15... Line 21...
15
/* Frequency of the clock ticks reported by clock().  */
21
/* Frequency of the clock ticks reported by clock().  */
16
#define	CLOCKS_PER_SEC	128
22
#define	CLOCKS_PER_SEC	128
17
 
23
 
18
 
24
 
19
typedef unsigned long clock_t;
25
typedef unsigned long clock_t;
20
typedef unsigned long time_t;
26
/*typedef unsigned long time_t;*/
21
 
27
 
22
/*
28
/*
23
 * Frequency of the clock ticks reported by times().  Deprecated - use
29
 * Frequency of the clock ticks reported by times().  Deprecated - use
24
 * sysconf(_SC_CLK_TCK) instead.  (Removed in 1003.1-2001.)
30
 * sysconf(_SC_CLK_TCK) instead.  (Removed in 1003.1-2001.)
25
 */
31
 */
26
#define	CLK_TCK		128
32
#define	CLK_TCK		128
-
 
33
 
-
 
34
 
-
 
35
 
-
 
36
#endif
27
 
37