Re: What are clock_t and time_t?

Originally Posted by
jamadagni
/usr/include/time.h did not have any useful info.
Pretty weird...
This from my gcc 3.4.3/mingw
#ifndef _CLOCK_T_DEFINED
typedef long clock_t;
#define _CLOCK_T_DEFINED
#endif
#ifndef _TIME_T_DEFINED
typedef long time_t;
#define _TIME_T_DEFINED
#endif
#ifndef _CLOCK_T_DEFINED
typedef long clock_t;
#define _CLOCK_T_DEFINED
#endif
#ifndef _TIME_T_DEFINED
typedef long time_t;
#define _TIME_T_DEFINED
#endif
To copy to clipboard, switch view to plain text mode
And it seems from the standard that it's implemention dependent
1. Users don't have the manual, and if they did, they wouldn't read it.
2. In fact, users can't read anything, and if they could, they wouldn't want to.
Bookmarks