/* Copyright (c) 1993 Xerox Corporation. All rights reserved. */ /* $Id$ $Date$ * * PCR time.h ANSI C 4.12 */ /* Chauser, October 28, 1993 3:29 pm PDT */ #ifndef ←←PCR←time←h #define ←←PCR←time←h #include <host/time.h> #include <posix/time.h> /* Check for hosts ilike Sun, not ANSI-conforming */ #if !defined(CLOCKS←PER←SEC) # define CLOCKS←PER←SEC 60 #endif #if !defined(NULL) # define NULL 0 #endif extern clock←t PCR←clock(void); extern double PCR←difftime(time←t time1, time←t time0); extern time←t PCR←mktime(struct tm *tp); extern char * PCR←asctime(const struct tm *t); extern char * PCR←ctime(const time←t *t); extern struct tm * PCR←gmtime(const time←t *t); extern struct tm * PCR←localtime(const time←t *t); extern size←t PCR←strftime(char *s, size←t maxsize, const char *format, const struct tm *timeptr); #ifndef PCR←NO←RENAME # undef clock # undef difftime # undef mktime # undef asctime # undef ctime # undef gmtime # undef localtime # undef strftime # define clock PCR←clock # define difftime PCR←difftime # define mktime PCR←mktime # define asctime PCR←asctime # define ctime PCR←ctime # define gmtime PCR←gmtime # define localtime PCR←localtime # define strftime PCR←strftime #endif /* !PCR←NO←RENAME */ #endif /* !←←PCR←time←h */ /* $Log$ */