home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
291.lha
/
CcLib_v1.2
/
include
/
time.h
< prev
Wrap
C/C++ Source or Header
|
1989-10-07
|
765b
|
51 lines
#ifndef TIME_H
#define TIME_H 1
struct tm
{
short tm_sec;
short tm_min;
short tm_hour;
short tm_mday;
short tm_mon;
short tm_year;
short tm_wday;
short tm_yday;
short tm_isdst;
short tm_hsec;
};
#ifndef STDIO_H
#include "stdio.h"
#endif
typedef long time_t;
typedef long clock_t;
#define CLK_TCK 1
#ifdef ANSIC
clock_t clock(void);
time_t time(time_t *);
long difftime(time_t,time_t);
time_t mktime(struct tm *);
char *asctime(struct tm *);
char *ctime(time_t *);
struct tm *gmtime(time_t *);
struct tm *localtime(time_t *);
size_t strftime(char *,size_t,char *,struct tm *);
#else
clock_t clock();
time_t time();
long difftime();
time_t mktime();
char *asctime();
char *ctime();
struct tm *gmtime();
struct tm *localtime();
size_t strftime();
#endif
#endif