/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: ansi:time.h (VERSION 2.6)
*/

#ifndef __TDF_ANSI_TIME_H
#define __TDF_ANSI_TIME_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__ansi__time begin

#pragma extend interface "../shared/ansi.api/null.h"
#ifndef __TDF_ANSI_STDDEF_H_SIZE_T
#pragma extend interface "../shared/ansi.api/size_t.h"
#endif /* __TDF_ANSI_STDDEF_H_SIZE_T */
#ifndef __TDF_ANSI_TIME_H_TIME_T
#pragma extend interface "../shared/ansi.api/time_t.h"
#endif /* __TDF_ANSI_TIME_H_TIME_T */
#pragma token STRUCT TAG tm # ansi.time.tm
#pragma token MEMBER int : struct tm : tm_sec # ansi.time.tm.tm_sec
#pragma token MEMBER int : struct tm : tm_min # ansi.time.tm.tm_min
#pragma token MEMBER int : struct tm : tm_hour # ansi.time.tm.tm_hour
#pragma token MEMBER int : struct tm : tm_mday # ansi.time.tm.tm_mday
#pragma token MEMBER int : struct tm : tm_mon # ansi.time.tm.tm_mon
#pragma token MEMBER int : struct tm : tm_year # ansi.time.tm.tm_year
#pragma token MEMBER int : struct tm : tm_wday # ansi.time.tm.tm_wday
#pragma token MEMBER int : struct tm : tm_yday # ansi.time.tm.tm_yday
#pragma token MEMBER int : struct tm : tm_isdst # ansi.time.tm.tm_isdst
#pragma token EXP rvalue : int : CLOCKS_PER_SEC # ansi.time.CLOCKS_PER_SEC
#pragma token FUNC char * (const struct tm *) : asctime # ansi.time.asctime
#pragma token FUNC char * (const time_t *) : ctime # ansi.time.ctime
#pragma token FUNC struct tm * (const time_t *) : gmtime # ansi.time.gmtime
#pragma token FUNC struct tm * (const time_t *) : localtime # ansi.time.localtime
#pragma token FUNC time_t (struct tm *) : mktime # ansi.time.mktime
#pragma token FUNC size_t (char *, size_t, const char *, const struct tm *) : strftime # ansi.time.strftime
#pragma token FUNC time_t (time_t *) : time # ansi.time.time
#ifndef __JUST_POSIX
#ifndef __TDF_ANSI_TIME_H_CLOCK_T
#pragma extend interface "../shared/ansi.api/clock_t.h"
#endif /* __TDF_ANSI_TIME_H_CLOCK_T */
#pragma token FUNC clock_t (void) : clock # ansi.time.clock
#ifndef __JUST_XPG3
#pragma token FUNC double (time_t, time_t) : difftime # ansi.time.difftime
#endif /* __JUST_XPG3 */
#endif /* __JUST_POSIX */

#pragma interface TAG tm TAG tm.tm_sec TAG tm.tm_min TAG tm.tm_hour
#pragma interface TAG tm.tm_mday TAG tm.tm_mon TAG tm.tm_year TAG tm.tm_wday
#pragma interface TAG tm.tm_yday TAG tm.tm_isdst CLOCKS_PER_SEC asctime
#pragma interface ctime gmtime localtime mktime strftime time
#ifndef __JUST_POSIX
#pragma interface clock
#ifndef __JUST_XPG3
#pragma interface difftime
#endif /* __JUST_XPG3 */
#endif /* __JUST_POSIX */

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_ANSI_TIME_H */
