File: _tz_structs.h

package info (click to toggle)
picolibc 1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 31,616 kB
  • sloc: ansic: 312,308; asm: 22,739; perl: 2,414; sh: 1,619; python: 1,019; pascal: 329; exp: 287; makefile: 164; xml: 40; cpp: 10
file content (24 lines) | stat: -rw-r--r-- 540 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef _SYS__TZ_STRUCTS_H_
#define _SYS__TZ_STRUCTS_H_

typedef struct __tzrule_struct
{
  char ch;
  int m; /* Month of year if ch=M */
  int n; /* Week of month if ch=M */
  int d; /* Day of week if ch=M, day of year if ch=J or ch=D */
  int s; /* Time of day in seconds */
  time_t change;
  long offset; /* Match type of _timezone. */
} __tzrule_type;

typedef struct __tzinfo_struct
{
  int __tznorth;
  int __tzyear;
  __tzrule_type __tzrule[2];
} __tzinfo_type;

__tzinfo_type *__gettzinfo (void);

#endif /* _SYS__TZ_STRUCTS_H_ */