Annotation of coherent/f/usr/include/time.h, revision 1.1.1.1

1.1       root        1: /* (-lgl
                      2:  *     COHERENT Version 4.0.2
                      3:  *     Copyright (c) 1982, 1993 by Mark Williams Company.
                      4:  *     All rights reserved. May not be copied without permission.
                      5:  -lgl) */
                      6: /*
                      7:  * time.h
                      8:  * COHERENT time function header.
                      9:  */
                     10: 
                     11: #ifndef        __TIME_H__
                     12: #define        __TIME_H__
                     13: 
                     14: #include <common/feature.h>
                     15: #include <common/ccompat.h>
                     16: #include <common/_size.h>
                     17: #include <common/_time.h>
                     18: #include <common/_clock.h>
                     19: #include <common/_clktck.h>
                     20: 
                     21: struct tm      {
                     22:        int     tm_sec;
                     23:        int     tm_min;
                     24:        int     tm_hour;
                     25:        int     tm_mday;
                     26:        int     tm_mon;
                     27:        int     tm_year;
                     28:        int     tm_wday;
                     29:        int     tm_yday;
                     30:        int     tm_isdst;
                     31: };
                     32: 
                     33: __EXTERN_C_BEGIN__
                     34: 
                     35: clock_t                clock           __PROTO ((void));
                     36: double         difftime        __PROTO ((time_t _time1, time_t time0));
                     37: time_t         mktime          __PROTO ((struct tm * _timeptr));
                     38: time_t         time            __PROTO ((time_t * _timer));
                     39: char         * asctime         __PROTO ((__CONST__ struct tm * _timeptr));
                     40: char         * ctime           __PROTO ((__CONST__ time_t * _timer));
                     41: struct tm     *        gmtime          __PROTO ((__CONST__ time_t * _timer));
                     42: struct tm     *        localtime       __PROTO ((__CONST__ time_t * _timer));
                     43: __size_t       strftime        __PROTO ((char * _s, size_t _maxsize,
                     44:                                          __CONST__ char * _format,
                     45:                                          __CONST__ struct tm * _timeptr));
                     46: 
                     47: __EXTERN_C_END__
                     48: 
                     49: #if    ! _STDC_SOURCE
                     50: 
                     51: extern char          * tzname[2];
                     52: 
                     53: #if    ! _POSIX_SOURCE
                     54: 
                     55: extern long            timezone;
                     56: 
                     57: #endif
                     58: #endif /* ! _STDC_SOURCE */
                     59: 
                     60: #endif /* ! defined (__TIME_H__) */

unix.superglobalmegacorp.com

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