aboutsummaryrefslogtreecommitdiff
path: root/AT91SAM7S256/SAM7S256/Include/xtinfo.h
blob: ff9d66702ed169d5f440d31b82f5dedd7dcf50ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* xtinfo.h internal header */
#ifndef _XTINFO
#define _XTINFO

#ifndef _SYSTEM_BUILD
#pragma system_include
#endif

#include <time.h>
#ifndef _YVALS
  #include <yvals.h>
#endif

#include <xlocale.h>

_C_STD_BEGIN

                /* type definitions */
typedef struct
{       /* format strings for date and time */
  const char *_Am_pm;
  const char *_Days;
  const char *_Abday;
  const char *_Day;
  const char *_Months;
  const char *_Abmon;
  const char *_Mon;
  const char *_Formats;
  const char *_D_t_fmt;
  const char *_D_fmt;
  const char *_T_fmt;
  const char *_T_fmt_ampm;
  const char *_Era_Formats;
  const char *_Era_D_t_fmt;
  const char *_Era_D_fmt;
  const char *_Era_T_fmt;
  const char *_Era_T_fmt_ampm;
  const char *_Era;
  const char *_Alt_digits;
  const char *_Isdst;
  const char *_Tzone;
} _Tinfo;

                /* declarations */
_C_LIB_DECL
__INTRINSIC size_t _CStrftime(char *, size_t, const char *,
                              const struct tm *, const _Tinfo *);
__INTRINSIC const _Tinfo *_Getptimes(void);
__INTRINSIC const _Tinfo *_GetptimesFor(int /* Id */);

#if !_DLIB_FULL_LOCALE_SUPPORT

#pragma inline
const _Tinfo * _Getptimes(void)
{
  extern const _Tinfo _LOCALE_WITH_USED(Tinfo);
  return &_LOCALE_WITH_USED(Tinfo);
}
#endif

_END_C_LIB_DECL
_C_STD_END
#endif /* _XTINFO */

/*
 * Copyright (c) 1992-2002 by P.J. Plauger.  ALL RIGHTS RESERVED.
 * Consult your license regarding permissions and restrictions.
V3.12:0576 */