home *** CD-ROM | disk | FTP | other *** search
- /* This is the Metrowerks time.h hacked up to get rid of some annoying multiple typedefs. */
-
- /* time.h standard header */
- #ifndef _TIME
- #define _TIME
- #ifndef _YVALS
- #include <yvals.h>
- #endif
-
- #if __MWERKS__
- #pragma options align=mac68k
- #endif
-
- /* macros */
- #ifndef NULL
- #define NULL _NULL
- #endif
- #define CLOCKS_PER_SEC _CPS
- /* type definitions */
- #ifndef _SIZET
- #define _SIZET
- typedef _Sizet size_t;
- #endif
-
- struct tm {
- int tm_sec;
- int tm_min;
- int tm_hour;
- int tm_mday;
- int tm_mon;
- int tm_year;
- int tm_wday;
- int tm_yday;
- int tm_isdst;
- };
-
- _EXTERN_C /* low-level functions */
- time_t time(time_t *);
- _END_EXTERN_C
-
- _C_LIB_DECL /* declarations */
- char *asctime(const struct tm *);
- clock_t clock(void);
- char *ctime(const time_t *);
- double difftime(time_t, time_t);
- struct tm *gmtime(const time_t *);
- struct tm *localtime(const time_t *);
- time_t mktime(struct tm *);
- size_t strftime(char *, size_t, const char *,
- const struct tm *);
- _END_C_LIB_DECL
-
- #if __MWERKS__
- #pragma options align=reset
- #endif
-
- #endif
-
- /*
- * Copyright (c) 1994 by P.J. Plauger. ALL RIGHTS RESERVED.
- * Consult your license regarding permissions and restrictions.
- */
-
-