Annotation of linux/include/time.h, revision 1.1.1.1

1.1       root        1: #ifndef _TIME_H
                      2: #define _TIME_H
                      3: 
                      4: #ifndef _TIME_T
                      5: #define _TIME_T
                      6: typedef long time_t;
                      7: #endif
                      8: 
                      9: #ifndef _SIZE_T
                     10: #define _SIZE_T
                     11: typedef unsigned int size_t;
                     12: #endif
                     13: 
                     14: #define CLOCKS_PER_SEC 100
                     15: 
                     16: typedef long clock_t;
                     17: 
                     18: struct tm {
                     19:        int tm_sec;
                     20:        int tm_min;
                     21:        int tm_hour;
                     22:        int tm_mday;
                     23:        int tm_mon;
                     24:        int tm_year;
                     25:        int tm_wday;
                     26:        int tm_yday;
                     27:        int tm_isdst;
                     28: };
                     29: 
                     30: clock_t clock(void);
                     31: time_t time(time_t * tp);
                     32: double difftime(time_t time2, time_t time1);
                     33: time_t mktime(struct tm * tp);
                     34: 
                     35: char * asctime(const struct tm * tp);
                     36: char * ctime(const time_t * tp);
                     37: struct tm * gmtime(const time_t *tp);
                     38: struct tm *localtime(const time_t * tp);
                     39: size_t strftime(char * s, size_t smax, const char * fmt, const struct tm * tp);
                     40: void tzset(void);
                     41: 
                     42: #endif

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.