Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
_ctime.h
Go to the documentation of this file.
1// -*- C++ -*-
2
30#ifndef _RWSTD_CTIME_H_INCLUDED
31#define _RWSTD_CTIME_H_INCLUDED
32
33
34#include <rw/_defs.h>
35
36
38
39
40extern "C" {
41
42
43#ifndef CLOCKS_PER_SEC
44# define CLOCKS_PER_SEC _RWSTD_CLOCKS_PER_SEC
45#endif
46
47#ifndef NULL
48# define NULL 0
49#endif
50
51
52#ifdef _RWSTD_CLOCK_T
53typedef _RWSTD_CLOCK_T clock_t;
54#else
55typedef long clock_t;
56#endif // _RWSTD_CLOCK_T
57
58#ifdef _RWSTD_TIME_T
59typedef _RWSTD_TIME_T time_t;
60#else
61typedef long time_t;
62#endif // _RWSTD_TIME_T
63
64#ifdef _RWSTD_SIZE_T
65typedef _RWSTD_SIZE_T size_t;
66#else
67typedef unsigned long size_t;
68#endif // _RWSTD_SIZE_T
69
70
71struct tm _RWSTD_STRUCT_TM;
72
73
74clock_t clock ();
75double difftime (time_t, time_t);
76time_t mktime (struct tm*);
77time_t time (time_t*);
78char* asctime (const struct tm*);
79char* ctime (const time_t*);
80struct tm* gmtime (const time_t*);
81struct tm* localtime (const time_t*);
82size_t strftime (char*, size_t, const char*, const struct tm*);
83
84
85} // extern "C"
86
87
88} // namespace std
89
90
91#endif // _RWSTD_CTIME_H_INCLUDED
#define _RWSTD_NAMESPACE(name)
Definition _defs.h:567
Definition json.h:5363
A local time-of-day.