[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sun C 5.14
From: |
Po Lu |
Subject: |
Sun C 5.14 |
Date: |
Wed, 05 Apr 2023 13:26:50 +0800 |
I can't build Emacs with Sun C 5.14, on x86_64-pc-solaris2.11:
cc -m64 -c -g3 -O -I. -I../src -I. -I./../src -o time_rz.o time_rz.c
"time_rz.c", line 45: non-constant enumerator value
cc: acomp failed for time_rz.c
gmake: *** [Makefile:84: time_rz.o] Error 2
Here is the preprocessed time_rz.c:
# 1 "time_rz.c"
# 17
# 24
# 1 "../src/config.h"
# 23
# 30
# 38
# 41
# 44
# 47
# 50
# 53
# 68
# 72
# 84
# 90
# 99
# 104
# 114
# 118
# 121
# 127
# 130
# 133
# 136
# 144
# 151
# 164
# 168
# 173
# 183
# 197
# 204
# 207
# 212
# 215
# 226
# 230
# 234
# 238
# 242
# 246
# 256
# 260
# 265
# 273
# 277
# 289
# 358
# 364
# 368
# 371
# 386
# 395
# 398
# 401
# 425
# 428
# 454
# 458
# 462
# 465
# 470
# 474
# 478
# 482
# 486
# 490
# 494
# 498
# 502
# 506
# 510
# 514
# 518
# 522
# 526
# 530
# 534
# 538
# 542
# 546
# 550
# 554
# 558
# 562
# 566
# 570
# 573
# 577
# 582
# 586
# 590
# 593
# 598
# 602
# 605
# 620
# 623
# 632
# 638
# 641
# 644
# 647
# 650
# 653
# 656
# 659
# 662
# 668
# 671
# 674
# 677
# 683
# 686
# 689
# 692
# 704
# 707
# 710
# 716
# 719
# 722
# 725
# 728
# 731
# 737
# 740
# 743
# 746
# 749
# 752
# 761
# 770
# 779
# 803
# 815
# 818
# 821
# 824
# 851
# 875
# 884
# 905
# 920
# 924
# 927
# 930
# 933
# 936
# 939
# 963
# 966
# 978
# 981
# 987
# 993
# 1005
# 1008
# 1029
# 1032
# 1035
# 1041
# 1063
# 1066
# 1069
# 1075
# 1078
# 1081
# 1084
# 1088
# 1092
# 1095
# 1101
# 1104
# 1107
# 1119
# 1122
# 1128
# 1131
# 1137
# 1140
# 1143
# 1146
# 1152
# 1161
# 1168
# 1180
# 1183
# 1189
# 1192
# 1195
# 1198
# 1201
# 1207
# 1210
# 1213
# 1216
# 1219
# 1222
# 1225
# 1234
# 1237
# 1240
# 1243
# 1249
# 1252
# 1258
# 1261
# 1264
# 1267
# 1270
# 1273
# 1276
# 1279
# 1282
# 1289
# 1292
# 1296
# 1302
# 1305
# 1326
# 1344
# 1347
# 1356
# 1371
# 1374
# 1377
# 1380
# 1386
# 1389
# 1392
# 1395
# 1401
# 1404
# 1410
# 1416
# 1419
# 1422
# 1425
# 1428
# 1431
# 1437
# 1440
# 1443
# 1446
# 1449
# 1452
# 1455
# 1458
# 1461
# 1473
# 1477
# 1483
# 1489
# 1493
# 1496
# 1499
# 1502
# 1508
# 1511
# 1517
# 1526
# 1529
# 1535
# 1541
# 1545
# 1548
# 1551
# 1557
# 1560
# 1572
# 1575
# 1578
# 1581
# 1584
# 1587
# 1596
# 1602
# 1605
# 1617
# 1620
# 1623
# 1626
# 1629
# 1632
# 1635
# 1638
# 1641
# 1644
# 1647
# 1650
# 1656
# 1659
# 1662
# 1665
# 1668
# 1671
# 1677
# 1770
# 1795
# 1798
# 1819
# 1822
# 1825
# 1838
# 1856
# 1861
# 1874
# 1878
# 1884
# 1888
# 1891
# 1896
# 1902
# 1914
# 1923
# 1926
# 1929
# 1932
# 1935
# 1938
# 1942
# 1946
# 1950
# 1953
# 1964
# 1970
# 1973
# 1976
# 1982
# 1986
# 1996
# 1999
# 2006
# 2009
# 2012
# 2016
# 2019
# 2026
# 2032
# 2039
# 2043
# 2047
# 2057
# 2065
# 2072
# 2075
# 2084
# 2088
# 2091
# 2094
# 2097
# 2100
# 2107
# 2113
# 2120
# 2129
# 2132
# 2159
# 2164
# 2168
# 2172
# 2176
# 2181
# 2185
# 2187
# 2192
# 2197
# 2199
# 2201
# 2203
# 2205
# 2209
# 2213
# 2217
# 2221
# 2225
# 2229
# 2233
# 2237
# 2241
# 2245
# 2248
# 2250
# 2257
# 2264
# 2267
# 2273
# 2276
# 2279
# 2284
# 2294
# 2303
# 2306
# 2309
# 2326
# 2330
# 2368
# 2377
# 2381
# 2385
# 2388
# 2391
# 2400
# 2404
# 2416
# 2443
# 2483
# 2489
# 2496
# 2504
# 2507
# 2515
# 2519
# 2527
# 2544
# 2551
# 2559
# 2565
# 2573
# 2586
# 2589
# 2608
# 2613
# 2626
# 2629
# 2637
# 2641
# 2656
# 2667
# 2675
# 2680
# 2688
# 2691
# 2699
# 2703
# 2712
# 2716
# 2722
# 2741
# 2744
# 2746
# 2750
# 2773
# 2776
# 2784
# 2789
# 2797
# 2800
# 2809
# 2814
# 2822
# 2827
# 2836
# 2843
# 2851
# 2854
# 2862
# 2867
# 2875
# 2884
# 2889
# 2899
# 2904
# 2906
# 2916
# 2934
# 2944
# 2953
# 2956
# 2959
# 2962
# 2965
# 2968
# 2971
# 2974
# 2977
# 2980
# 2983
# 2986
# 2989
# 2992
# 2995
# 3000
# 3010
# 3019
# 3030
# 3040
# 3054
# 3084
# 3132
# 3137
# 1 "/usr/include/stdbool.h"
# 21
# 26
# 29
# 1 "/usr/include/sys/stdbool.h"
# 21
# 26
# 29
# 47
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 33
# 1 "/usr/include/sys/ccompile.h"
# 22
# 26
# 30
# 33
# 38
# 42
# 52
# 132
# 136
# 138
# 144
# 148
# 165
# 174
# 178
# 1 "/usr/include/sys/isa_defs.h"
# 22
# 28
# 31
# 220
# 224
# 230
# 234
# 238
# 264
# 269
# 289
# 490
# 494
# 498
# 36 "/usr/include/sys/feature_tests.h"
# 40
# 55
# 94
# 98
# 143
# 150
# 154
# 158
# 162
# 170
# 188
# 228
# 256
# 312
# 359
# 386
# 406
# 418
# 422
# 428
# 441
# 452
# 458
# 464
# 470
# 476
# 482
# 486
# 49 "/usr/include/sys/stdbool.h"
# 52
# 56
# 60
# 62
# 65
# 31 "/usr/include/stdbool.h"
# 3154 "../src/config.h"
# 1 "./assert.h"
# 17
# 20
# 24
# 1 "./assert.h"
# 17
# 20
# 24
# 1 "/usr/include/assert.h"
# 22
# 34
# 37
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 39 "/usr/include/assert.h"
# 43
# 45
extern _Noreturn void __assert_c99(const char *, const char *, int,
const char *) ;
# 50
# 57
# 61
# 63
# 70
# 72
# 78
# 85
# 27 "./assert.h"
# 45
# 50
# 73
# 81
# 181
# 185
# 195
# 199
# 203
# 206
# 227
# 237
# 250
# 253
# 278
# 303
# 27 "./assert.h"
# 45
# 3164 "../src/config.h"
# 3171
# 1 "../src/conf_post.h"
# 20
# 24
# 31
# 36
# 40
# 52
# 61
typedef _Bool bool_bf;
# 63
# 80
# 88
# 95
# 105
# 119
# 144
# 156
# 229
# 239
# 243
# 252
# 261
# 268
# 273
extern char *emacs_getenv_TZ (void);
extern int emacs_setenv_TZ (char const *);
# 278
# 308
# 310
# 315
# 318
# 324
# 327
# 339
# 342
# 352
# 363
# 370
# 383
# 387
# 392
# 426
# 444
# 447
# 454
# 456
# 3173 "../src/config.h"
# 3175
# 3181
# 26 "time_rz.c"
# 1 "./time.h"
# 18
# 22
# 38
# 40
# 46
# 1 "./time.h"
# 18
# 22
# 34
# 1 "/usr/include/time.h"
# 21
# 31
# 35
# 38
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "/usr/include/iso/time_iso.h"
# 22
# 32
# 44
# 47
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "/usr/include/sys/null.h"
# 11
# 15
# 18
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 20 "/usr/include/sys/null.h"
# 22
# 26
# 47
# 49
# 50 "/usr/include/iso/time_iso.h"
# 54
# 58
# 62
typedef unsigned long size_t;
# 67
# 70
typedef long clock_t;
# 72
# 75
typedef long time_t;
# 77
# 79
struct tm {
int tm_sec;
int tm_min;
int tm_hour;
int tm_mday;
int tm_mon;
int tm_year;
int tm_wday;
int tm_yday;
int tm_isdst;
};
extern char *asctime(const struct tm *);
extern clock_t clock(void);
extern char *ctime(const time_t *);
extern double difftime(time_t, time_t);
extern struct tm *gmtime(const time_t *);
extern struct tm *localtime(const time_t *);
extern time_t mktime(struct tm *);
extern time_t time(time_t *);
extern size_t strftime(char * __restrict__ , size_t, const char * __restrict__ ,
const struct tm * __restrict__ );
# 107
# 111
# 41 "/usr/include/time.h"
# 1 "./sys/types.h"
# 18
# 22
# 33
# 36
# 1 "./sys/types.h"
# 18
# 22
# 33
# 36
# 1 "/usr/include/sys/types.h"
# 21
# 33
# 36
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "/usr/include/sys/isa_defs.h"
# 22
# 28
# 39 "/usr/include/sys/types.h"
# 1 "/usr/include/sys/machtypes.h"
# 21
# 25
# 28
# 32
# 38
# 41
# 58
typedef struct _label_t { long val[ 8 ]; } label_t;
# 62
typedef unsigned char lock_t;
# 68
# 44 "/usr/include/sys/types.h"
# 1 "/usr/include/sys/int_types.h"
# 22
# 28
# 31
# 54
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 56 "/usr/include/sys/int_types.h"
# 60
# 75
typedef char int8_t;
# 79
typedef short int16_t;
typedef int int32_t;
# 83
typedef long int64_t;
# 90
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
# 95
typedef unsigned long uint64_t;
# 101
# 107
typedef int64_t intmax_t;
typedef uint64_t uintmax_t;
# 113
# 120
typedef long intptr_t;
typedef unsigned long uintptr_t;
# 126
# 132
typedef char int_fast8_t;
# 136
typedef int int_fast16_t;
typedef int int_fast32_t;
# 139
typedef long int_fast64_t;
# 145
typedef unsigned char uint_fast8_t;
typedef unsigned int uint_fast16_t;
typedef unsigned int uint_fast32_t;
# 150
typedef unsigned long uint_fast64_t;
# 156
# 162
typedef char int_least8_t;
# 166
typedef short int_least16_t;
typedef int int_least32_t;
# 169
typedef long int_least64_t;
# 175
# 179
typedef unsigned char uint_least8_t;
typedef unsigned short uint_least16_t;
typedef unsigned int uint_least32_t;
# 183
typedef unsigned long uint_least64_t;
# 189
# 193
# 57 "/usr/include/sys/types.h"
# 61
# 65
# 72
typedef long long longlong_t;
typedef unsigned long long u_longlong_t;
# 85
# 92
typedef int32_t t_scalar_t;
typedef uint32_t t_uscalar_t;
# 98
# 102
typedef unsigned char uchar_t;
typedef unsigned short ushort_t;
typedef unsigned int uint_t;
typedef unsigned long ulong_t;
typedef char *caddr_t;
typedef long daddr_t;
typedef short cnt_t;
# 114
typedef long ptrdiff_t;
# 119
# 123
typedef ulong_t pfn_t;
typedef ulong_t pgcnt_t;
typedef long spgcnt_t;
typedef uchar_t use_t;
typedef short sysid_t;
typedef short index_t;
typedef void *timeout_id_t;
typedef void *bufcall_id_t;
# 143
# 145
typedef long off_t;
# 149
# 152
typedef off_t off64_t;
# 157
# 159
# 161
typedef ulong_t ino_t;
typedef long blkcnt_t;
typedef ulong_t fsblkcnt_t;
typedef ulong_t fsfilcnt_t;
# 171
# 174
typedef ino_t ino64_t;
typedef blkcnt_t blkcnt64_t;
typedef fsblkcnt_t fsblkcnt64_t;
typedef fsfilcnt_t fsfilcnt64_t;
# 185
# 187
typedef int blksize_t;
# 191
# 215
typedef enum { B_FALSE = 0, B_TRUE = 1, _B_FALSE = 0, _B_TRUE = 1 } boolean_t;
# 217
# 222
# 226
# 240
typedef int64_t pad64_t;
typedef uint64_t upad64_t;
# 253
typedef union {
long double _q;
int32_t _l[4];
} pad128_t;
typedef union {
long double _q;
uint32_t _l[4];
} upad128_t;
typedef longlong_t offset_t;
typedef u_longlong_t u_offset_t;
typedef u_longlong_t len_t;
typedef u_longlong_t diskaddr_t;
# 271
# 278
typedef union {
offset_t _f;
struct {
int32_t _l;
int32_t _u;
} _p;
} lloff_t;
# 286
# 296
# 298
typedef union {
longlong_t _f;
struct {
int32_t _l;
int32_t _u;
} _p;
} lldaddr_t;
# 306
# 316
typedef uint_t k_fltset_t;
# 329
typedef int id_t;
# 333
typedef id_t lgrp_id_t;
# 340
typedef uint_t useconds_t;
# 344
typedef long suseconds_t;
# 346
# 351
typedef uint_t major_t;
typedef uint_t minor_t;
# 357
# 361
typedef short pri_t;
# 367
typedef ushort_t cpu_flag_t;
# 380
typedef ushort_t o_mode_t;
typedef short o_dev_t;
typedef ushort_t o_uid_t;
typedef o_uid_t o_gid_t;
typedef short o_nlink_t;
typedef short o_pid_t;
typedef ushort_t o_ino_t;
# 392
typedef int key_t;
# 394
typedef uint_t mode_t;
# 398
# 401
typedef unsigned int uid_t;
# 403
typedef uid_t gid_t;
typedef uint32_t datalink_id_t;
typedef uint32_t vrid_t;
typedef id_t taskid_t;
typedef id_t projid_t;
typedef id_t poolid_t;
typedef id_t zoneid_t;
typedef id_t ctid_t;
# 420
typedef uint_t pthread_t;
typedef uint_t pthread_key_t;
# 428
typedef struct _pthread_mutex {
struct {
uint16_t __pthread_mutex_flag1;
uint8_t __pthread_mutex_flag2;
uint8_t __pthread_mutex_ceiling;
uint16_t __pthread_mutex_type;
uint16_t __pthread_mutex_magic;
} __pthread_mutex_flags;
union {
struct {
uint8_t __pthread_mutex_pad[8];
} __pthread_mutex_lock64;
struct {
uint32_t __pthread_ownerpid;
uint32_t __pthread_lockword;
} __pthread_mutex_lock32;
upad64_t __pthread_mutex_owner64;
} __pthread_mutex_lock;
upad64_t __pthread_mutex_data;
} pthread_mutex_t;
typedef struct _pthread_cond {
struct {
uint8_t __pthread_cond_flag[4];
uint16_t __pthread_cond_type;
uint16_t __pthread_cond_magic;
} __pthread_cond_flags;
upad64_t __pthread_cond_data;
} pthread_cond_t;
# 462
typedef struct _pthread_rwlock {
int32_t __pthread_rwlock_readers;
uint16_t __pthread_rwlock_type;
uint16_t __pthread_rwlock_magic;
pthread_mutex_t __pthread_rwlock_mutex;
pthread_cond_t __pthread_rwlock_readercv;
pthread_cond_t __pthread_rwlock_writercv;
} pthread_rwlock_t;
# 474
typedef struct {
uint32_t __pthread_barrier_count;
uint32_t __pthread_barrier_current;
upad64_t __pthread_barrier_cycle;
upad64_t __pthread_barrier_reserved;
pthread_mutex_t __pthread_barrier_lock;
pthread_cond_t __pthread_barrier_cond;
} pthread_barrier_t;
typedef pthread_mutex_t pthread_spinlock_t;
# 488
typedef struct _pthread_attr {
void *__pthread_attrp;
} pthread_attr_t;
# 495
typedef struct _pthread_mutexattr {
void *__pthread_mutexattrp;
} pthread_mutexattr_t;
# 502
typedef struct _pthread_condattr {
void *__pthread_condattrp;
} pthread_condattr_t;
# 509
typedef struct _once {
upad64_t __pthread_once_pad[4];
} pthread_once_t;
# 517
typedef struct _pthread_rwlockattr {
void *__pthread_rwlockattrp;
} pthread_rwlockattr_t;
# 525
typedef struct {
void *__pthread_barrierattrp;
} pthread_barrierattr_t;
typedef ulong_t dev_t;
# 532
typedef uint_t nlink_t;
typedef int pid_t;
# 538
# 547
# 551
typedef long ssize_t;
# 556
# 561
# 566
# 569
typedef int clockid_t;
# 571
# 574
typedef int timer_t;
# 576
# 578
typedef unsigned char unchar;
typedef unsigned short ushort;
typedef unsigned int uint;
typedef unsigned long ulong;
# 624
# 626
# 634
# 641
# 648
typedef unsigned char u_char;
typedef unsigned short u_short;
typedef unsigned int u_int;
typedef unsigned long u_long;
typedef struct _quad { int val[2]; } quad_t;
typedef quad_t quad;
# 1 "./sys/select.h"
# 17
# 21
# 34
# 1 "./sys/select.h"
# 17
# 21
# 72
# 74
# 1 "./sys/types.h"
# 18
# 22
# 33
# 36
# 1 "./sys/types.h"
# 18
# 22
# 33
# 36
# 1 "/usr/include/sys/types.h"
# 21
# 33
# 41 "./sys/types.h"
# 44
# 56
# 98
# 104
# 41 "./sys/types.h"
# 79 "./sys/select.h"
# 81
# 1 "./sys/time.h"
# 18
# 22
# 26
# 36
# 1 "./sys/time.h"
# 18
# 22
# 26
# 36
# 1 "/usr/include/sys/time.h"
# 10
# 21
# 25
# 28
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 30 "/usr/include/sys/time.h"
# 35
# 39
# 43
# 48
# 53
struct timeval {
time_t tv_sec;
suseconds_t tv_usec;
};
# 80
# 83
# 86
struct timezone {
int tz_minuteswest;
int tz_dsttime;
};
# 93
# 97
# 1 "./sys/types.h"
# 18
# 22
# 33
# 106 "/usr/include/sys/time.h"
# 110
# 112
# 124
# 135
# 137
# 178
# 191
# 193
# 195
# 202
# 205
# 209
struct itimerval {
struct timeval it_interval;
struct timeval it_value;
};
# 238
# 241
# 248
# 251
# 254
# 257
# 259
# 261
# 265
typedef longlong_t hrtime_t;
# 389
# 391
int adjtime(const struct timeval *, struct timeval *);
# 393
# 396
int futimesat(int, const char *, const struct timeval *);
# 398
# 401
int getitimer(int, struct itimerval *);
int utimes(const char *, const struct timeval *);
# 409
int setitimer(int, struct itimerval * __restrict__ ,
struct itimerval * __restrict__ );
# 412
# 414
# 416
int futimes(int, const struct timeval *);
int lutimes(const char *, const struct timeval *);
# 423
# 428
# 430
# 446
# 450
int settimeofday(struct timeval *, void *);
# 452
hrtime_t gethrtime(void);
hrtime_t gethrvtime(void);
# 456
# 459
# 463
int gettimeofday(struct timeval * __restrict__ , void * __restrict__ );
# 465
# 467
# 1 "./time.h"
# 18
# 22
# 34
# 1 "./time.h"
# 18
# 22
# 34
# 1 "/usr/include/time.h"
# 21
# 31
# 35
# 36 "./time.h"
# 36 "./time.h"
# 483 "/usr/include/sys/time.h"
# 1 "./sys/select.h"
# 17
# 21
# 48
# 1 "./sys/select.h"
# 17
# 21
# 72
# 74
# 1 "./sys/types.h"
# 18
# 22
# 33
# 79 "./sys/select.h"
# 81
# 1 "./sys/time.h"
# 18
# 22
# 26
# 1 "./sys/time.h"
# 18
# 22
# 26
# 1 "/usr/include/sys/time.h"
# 10
# 21
# 25
# 92 "./sys/select.h"
# 1 "./string.h"
# 18
# 22
# 34
# 37
# 39
# 1 "./string.h"
# 18
# 22
# 25
# 30
# 1 "/usr/include/string.h"
# 21
# 27
# 33
# 1 "/usr/include/iso/string_iso.h"
# 22
# 33
# 45
# 48
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "/usr/include/sys/null.h"
# 11
# 15
# 51 "/usr/include/iso/string_iso.h"
# 55
# 59
# 68
extern int memcmp(const void *, const void *, size_t);
extern void *memcpy(void * __restrict__ , const void * __restrict__ , size_t);
extern void *memmove(void *, const void *, size_t);
extern void *memset(void *, int, size_t);
extern char *strcat(char * __restrict__ , const char * __restrict__ );
extern int strcmp(const char *, const char *);
extern char *strcpy(char * __restrict__ , const char * __restrict__ );
extern int strcoll(const char *, const char *);
extern size_t strcspn(const char *, const char *);
extern char *strerror(int);
extern size_t strlen(const char *);
extern char *strncat(char * __restrict__ , const char * __restrict__ , size_t);
extern int strncmp(const char *, const char *, size_t);
extern char *strncpy(char * __restrict__ , const char * __restrict__ , size_t);
extern size_t strspn(const char *, const char *);
extern char *strtok(char * __restrict__ , const char * __restrict__ );
extern size_t strxfrm(char * __restrict__ , const char * __restrict__ , size_t);
# 139
extern void *memchr(const void *, int, size_t);
extern char *strchr(const char *, int);
extern char *strpbrk(const char *, const char *);
extern char *strrchr(const char *, int);
extern char *strstr(const char *, const char *);
# 145
# 149
# 175
# 179
# 35 "/usr/include/string.h"
# 65
# 69
# 73
extern int strerror_r(int, char *, size_t);
# 75
# 79
extern char *strtok_r(char * __restrict__ , const char * __restrict__ ,
char ** __restrict__ );
# 82
# 85
extern void *memccpy(void * __restrict__ , const void * __restrict__ ,
int, size_t);
# 88
# 90
extern char *stpcpy(char * __restrict__ , const char * __restrict__ );
extern char *stpncpy(char * __restrict__ , const char * __restrict__ , size_t);
extern char *strndup(const char *, size_t);
extern size_t strnlen(const char *, size_t);
extern char *strsignal(int);
# 99
typedef struct _locale *locale_t;
# 101
extern int strcoll_l(const char *, const char *, locale_t);
extern size_t strxfrm_l(char * __restrict__ , const char * __restrict__ ,
size_t, locale_t);
extern int strcasecmp_l(const char *, const char *, locale_t);
extern int strncasecmp_l(const char *, const char *, size_t, locale_t);
extern char *strerror_l(int, locale_t);
# 110
# 112
extern void explicit_bzero(void *, size_t);
extern int uucopy(const void * __restrict__ , void * __restrict__ , size_t);
extern int uucopystr(const void * __restrict__ , void * __restrict__ , size_t);
extern int ffs(int);
extern int ffsl(long);
extern int ffsll(long long);
extern int fls(int);
extern int flsl(long);
extern int flsll(long long);
extern void *memmem(const void *, size_t, const void *, size_t);
extern void *memrchr(const void *, int, size_t);
extern char *strcasestr(const char *, const char *);
extern char *strnstr(const char *, const char *, size_t);
extern size_t strlcpy(char *, const char *, size_t);
extern size_t strlcat(char *, const char *, size_t);
extern char *strsep(char **stringp, const char *delim);
extern char *strchrnul(const char *, int);
extern char *strcasestr_l(const char *, const char *, locale_t);
extern int strcasecmp(const char *, const char *);
extern int strncasecmp(const char *, const char *, size_t);
# 135
# 139
extern char *strdup(const char *);
# 141
# 144
# 165
# 167
# 171
extern void *__builtin_alloca(size_t);
extern __thread char *__strdupa_str;
extern __thread size_t __strdupa_len;
# 179
# 187
# 190
# 194
# 32 "./string.h"
# 42 "./string.h"
# 44
# 47
# 1 "/usr/include/stddef.h"
# 22
# 30
# 33
# 1 "/usr/include/sys/isa_defs.h"
# 22
# 28
# 1 "/usr/include/iso/stddef_iso.h"
# 22
# 30
# 35
# 47
# 50
# 1 "/usr/include/sys/isa_defs.h"
# 22
# 28
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "/usr/include/sys/null.h"
# 11
# 15
# 54 "/usr/include/iso/stddef_iso.h"
# 58
# 62
# 71
# 80
# 84
# 88
typedef long double max_align_t;
# 91
# 99
# 103
# 1 "/usr/include/sys/stddef.h"
# 11
# 15
# 18
# 22
# 26
# 38
# 42
# 37 "/usr/include/stddef.h"
# 46
# 50
# 68
typedef int wchar_t;
# 74
# 78
# 50 "./string.h"
# 55
# 62
# 65
# 71
# 82
# 85
# 96
# 99
# 107
# 117
# 134
# 137
# 146
# 205
# 213
# 225
# 235
# 266
# 276
# 301
# 309
# 339
# 364
# 395
# 423
# 448
# 450
# 467
# 478
# 495
# 562
# 587
# 619
# 629
# 654
extern void free (void *);
# 673
# 690
# 704
# 727
# 730
# 741
extern int _gl_cxxalias_dummy ;
# 744
extern int _gl_cxxalias_dummy ;
# 746
# 782
# 789
extern void * rpl_memmem ( void const * __haystack , size_t __haystack_len ,
void const * __needle , size_t __needle_len ) __attribute__ ( ( __pure__ ) ) ;
# 794
extern int _gl_cxxalias_dummy ;
# 809
extern int _gl_cxxalias_dummy ;
# 818
# 836
extern void * mempcpy ( void * __restrict__ __dest , void const * __restrict__
__src , size_t __n ) ;
# 841
extern int _gl_cxxalias_dummy ;
# 855
# 863
# 866
extern int _gl_cxxalias_dummy ;
# 884
# 889
extern void * memset_explicit ( void * __dest , int __c , size_t __n ) ;
# 892
extern int _gl_cxxalias_dummy ;
extern int _gl_cxxalias_dummy ;
# 901
# 933
# 952
extern int _gl_cxxalias_dummy ;
# 965
# 1002
# 1014
# 1055
# 1103
# 1116
extern int _gl_cxxalias_dummy ;
# 1118
extern int _gl_cxxalias_dummy ;
# 1121
# 1148
# 1187
# 1207
extern int _gl_cxxalias_dummy ;
# 1209
extern int _gl_cxxalias_dummy ;
# 1217
# 1229
# 1273
# 1283
# 1295
# 1334
# 1375
# 1426
# 1489
# 1493
# 1518
# 1526
# 1548
# 1570
# 1580
# 1592
# 1607
# 1621
# 1632
# 1643
# 1665
# 1676
# 1695
# 1717
# 1739
# 1768
# 1792
# 1807
# 1811
extern const char * sigdescr_np ( int sig );
# 1813
extern int _gl_cxxalias_dummy ;
extern int _gl_cxxalias_dummy ;
# 1822
# 1846
# 1862
# 100 "./sys/select.h"
# 1 "/usr/include/sys/select.h"
# 21
# 30
# 43
# 46
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 48 "/usr/include/sys/select.h"
# 1 "/usr/include/sys/time_impl.h"
# 22
# 26
# 36
# 39
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 41 "/usr/include/sys/time_impl.h"
# 45
# 47
# 52
# 56
typedef struct timespec {
time_t tv_sec;
long tv_nsec;
} timespec_t;
# 80
typedef struct timespec timestruc_t;
# 87
# 91
# 95
typedef struct itimerspec {
struct timespec it_interval;
struct timespec it_value;
} itimerspec_t;
# 117
# 119
# 128
# 132
# 135
# 139
# 1 "./sys/time.h"
# 18
# 22
# 26
# 1 "./sys/time.h"
# 18
# 22
# 26
# 1 "/usr/include/sys/time.h"
# 10
# 21
# 25
# 55 "/usr/include/sys/select.h"
# 59
# 62
# 74
typedef struct {
unsigned int __sigbits[4];
} sigset_t;
# 78
# 80
# 90
# 92
typedef long fd_mask;
# 94
typedef long fds_mask;
# 106
# 111
# 118
# 120
typedef struct fd_set {
# 124
long fds_bits[ ( ( ( 65536 ) + ( ( ( sizeof ( fds_mask ) * 8 ) ) - 1
) ) / ( ( sizeof ( fds_mask ) * 8 ) ) )];
} fd_set;
# 129
# 132
# 135
# 141
# 143
extern int select(int, fd_set * __restrict__ , fd_set * __restrict__ ,
fd_set * __restrict__ , struct timeval * __restrict__ );
# 147
extern int pselect(int, fd_set * __restrict__ , fd_set * __restrict__ ,
fd_set * __restrict__ , const struct timespec * __restrict__ ,
const sigset_t * __restrict__ );
# 151
# 153
# 157
# 103 "./sys/select.h"
# 105
# 1 "./signal.h"
# 18
# 22
# 39
# 42
# 44
# 1 "./sys/types.h"
# 18
# 22
# 33
# 50 "./signal.h"
# 1 "./signal.h"
# 18
# 22
# 25
# 35
# 1 "/usr/include/signal.h"
# 22
# 31
# 34
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 36 "/usr/include/signal.h"
# 1 "./sys/types.h"
# 18
# 22
# 33
# 41 "/usr/include/signal.h"
# 1 "/usr/include/iso/signal_iso.h"
# 22
# 32
# 44
# 47
# 1 "/usr/include/sys/iso/signal_iso.h"
# 21
# 26
# 41
# 44
# 1 "/usr/include/sys/unistd.h"
# 21
# 27
# 32
# 38
# 41
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 43 "/usr/include/sys/unistd.h"
# 47
# 51
# 55
# 60
# 65
# 83
# 102
# 114
# 119
# 124
# 152
# 173
# 177
# 183
# 188
# 191
# 207
# 214
# 235
# 244
# 285
# 298
# 302
# 316
# 318
# 326
# 332
# 337
# 343
# 350
# 358
# 366
# 379
# 383
# 387
# 392
# 408
# 413
# 417
# 46 "/usr/include/sys/iso/signal_iso.h"
# 50
# 95
# 99
extern long _sysconf(int);
# 102
# 122
# 127
# 129
# 133
# 137
# 49 "/usr/include/iso/signal_iso.h"
# 53
# 57
typedef int sig_atomic_t;
# 63
extern void (*signal(int, void (*)(int)))(int);
# 65
extern int raise(int);
# 70
# 74
# 1 "/usr/include/sys/signal.h"
# 21
# 26
# 39
# 42
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "/usr/include/sys/iso/signal_iso.h"
# 21
# 26
# 41
# 45 "/usr/include/sys/signal.h"
# 49
# 52
# 56
# 1 "/usr/include/sys/siginfo.h"
# 22
# 26
# 32
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "./sys/types.h"
# 18
# 22
# 33
# 35 "/usr/include/sys/siginfo.h"
# 39
# 42
# 49
union sigval {
int sival_int;
void *sival_ptr;
};
# 54
# 65
# 74
# 77
# 84
struct sigevent {
int sigev_notify;
int sigev_signo;
union sigval sigev_value;
void (*sigev_notify_function)(union sigval);
pthread_attr_t *sigev_notify_attributes;
int __sigev_pad2;
};
# 93
# 99
# 114
# 116
# 119
# 123
# 126
# 137
# 139
# 143
# 1 "/usr/include/sys/machsig.h"
# 22
# 26
# 33
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 35 "/usr/include/sys/machsig.h"
# 39
# 47
# 49
# 1 "/usr/include/vm/faultcode.h"
# 21
# 25
# 38
# 41
# 45
# 59
# 61
# 64
# 66
typedef int faultcode_t;
extern int fc_decode(faultcode_t);
# 71
# 75
# 53 "/usr/include/sys/machsig.h"
# 68
# 72
# 77
# 81
# 94
# 98
# 104
# 108
# 117
# 119
# 123
# 145 "/usr/include/sys/siginfo.h"
# 149
# 159
# 163
# 170
# 174
# 178
# 185
# 189
# 191
# 193
# 196
# 199
# 201
# 204
# 212
# 1 "/usr/include/sys/time_impl.h"
# 22
# 26
# 36
# 227 "/usr/include/sys/siginfo.h"
# 1 "./sys/types.h"
# 18
# 22
# 33
# 235 "/usr/include/sys/siginfo.h"
# 237
typedef struct siginfo {
# 241
int si_signo;
int si_code;
int si_errno;
# 245
int si_pad;
# 247
union {
int __pad[ ( ( 256 / sizeof ( int ) ) - 4 )];
struct {
pid_t __pid;
union {
struct {
uid_t __uid;
# 258
union sigval __value;
# 262
} __kill;
struct {
clock_t __utime;
int __status;
clock_t __stime;
} __cld;
} __pdata;
ctid_t __ctid;
zoneid_t __zoneid;
} __proc;
struct {
void *__addr;
int __trapno;
caddr_t __pc;
} __fault;
struct {
int __fd;
long __band;
} __file;
struct {
caddr_t __faddr;
# 288
timestruc_t __tstamp;
# 292
short __syscall;
char __nsysarg;
char __fault;
long __sysarg[8];
int __mstate[10];
} __prof;
struct {
int32_t __entity;
} __rctl;
} __data;
} siginfo_t;
# 371
# 376
# 378
typedef struct k_siginfo {
int si_signo;
int si_code;
int si_errno;
# 384
int si_pad;
# 386
union {
struct {
pid_t __pid;
union {
struct {
uid_t __uid;
union sigval __value;
} __kill;
struct {
clock_t __utime;
int __status;
clock_t __stime;
} __cld;
} __pdata;
ctid_t __ctid;
zoneid_t __zoneid;
} __proc;
struct {
void *__addr;
int __trapno;
caddr_t __pc;
} __fault;
struct {
int __fd;
long __band;
} __file;
struct {
caddr_t __faddr;
# 420
timestruc_t __tstamp;
# 424
short __syscall;
char __nsysarg;
char __fault;
} __prof;
struct {
int32_t __entity;
} __rctl;
} __data;
} k_siginfo_t;
typedef struct sigqueue {
struct sigqueue *sq_next;
k_siginfo_t sq_info;
void (*sq_func)(struct sigqueue *);
void *sq_backptr;
int sq_external;
} sigqueue_t;
# 451
# 453
# 476
# 478
# 486
# 490
# 61 "/usr/include/sys/signal.h"
# 69
typedef struct {
unsigned int __sigbits[3];
} k_sigset_t;
# 84
# 88
struct sigaction {
int sa_flags;
union {
# 94
void (*_handler)();
# 99
void (*_sigaction)(int, siginfo_t *, void *);
# 101
} _funcptr;
sigset_t sa_mask;
# 106
};
# 109
# 125
# 129
# 133
# 141
# 147
# 152
# 155
# 157
# 164
# 167
# 170
# 175
typedef struct sigaltstack {
# 179
void *ss_sp;
size_t ss_size;
int ss_flags;
} stack_t;
# 195
# 197
# 199
# 202
typedef struct signotify_id {
pid_t sn_pid;
int sn_index;
int sn_pad;
} signotify_id_t;
# 221
# 227
# 229
# 234
struct sigstack {
void *ss_sp;
int ss_onstack;
};
# 239
# 247
# 330
# 334
# 44 "/usr/include/signal.h"
# 54
# 58
extern const char **_sys_siglistp;
extern const int _sys_siglistn;
# 67
# 70
extern int kill(pid_t, int);
extern int sigaction(int, const struct sigaction * __restrict__ ,
struct sigaction * __restrict__ );
# 74
extern int sigaddset(sigset_t *, int);
extern int sigdelset(sigset_t *, int);
extern int sigemptyset(sigset_t *);
extern int sigfillset(sigset_t *);
extern int sigismember(const sigset_t *, int);
# 80
extern int sigpending(sigset_t *);
extern int sigprocmask(int, const sigset_t * __restrict__ ,
sigset_t * __restrict__ );
extern int sigsuspend(const sigset_t *);
# 85
# 1 "/usr/include/sys/procset.h"
# 22
# 26
# 33
# 37
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "./sys/types.h"
# 18
# 22
# 33
# 1 "/usr/include/sys/signal.h"
# 21
# 26
# 39
# 41 "/usr/include/sys/procset.h"
# 51
# 58
typedef enum
# 60
idtype
# 62
{
P_PID,
P_PPID,
P_PGID,
P_SID,
P_CID,
P_UID,
P_GID,
P_ALL,
P_LWPID,
P_TASKID,
P_PROJID,
P_POOLID,
P_ZONEID,
P_CTID,
P_CPUID,
P_PSETID
} idtype_t;
# 89
typedef enum idop {
POP_DIFF,
POP_AND,
POP_OR,
POP_XOR
} idop_t;
# 110
typedef struct procset {
idop_t p_op;
idtype_t p_lidtype;
id_t p_lid;
idtype_t p_ridtype;
id_t p_rid;
} procset_t;
# 137
# 139
# 153
# 157
# 89 "/usr/include/signal.h"
extern int gsignal(int);
extern int (*ssignal(int, int (*)(int)))(int);
extern int sigsend(idtype_t, id_t, int);
extern int sigsendset(const procset_t *, int);
extern int sig2str(int, char *);
extern int str2sig(const char *, int *);
# 97
# 100
extern void (*bsd_signal(int, void (*)(int)))(int);
extern int killpg(pid_t, int);
extern int siginterrupt(int, int);
extern int sigaltstack(const stack_t * __restrict__ , stack_t * __restrict__ );
extern int sighold(int);
extern int sigignore(int);
extern int sigpause(int);
extern int sigrelse(int);
extern void (*sigset(int, void (*)(int)))(int);
# 110
# 115
extern int sigstack(struct sigstack *, struct sigstack *);
# 117
# 1 "/usr/include/sys/siginfo.h"
# 22
# 26
# 1 "./time.h"
# 18
# 22
# 34
# 1 "./time.h"
# 18
# 22
# 34
# 1 "/usr/include/time.h"
# 21
# 31
# 35
# 36 "./time.h"
# 36 "./time.h"
# 122 "/usr/include/signal.h"
extern int pthread_kill(pthread_t, int);
extern int pthread_sigmask(int, const sigset_t * __restrict__ ,
sigset_t * __restrict__ );
extern int sigwaitinfo(const sigset_t * __restrict__ ,
siginfo_t * __restrict__ );
extern int sigtimedwait(const sigset_t * __restrict__ ,
siginfo_t * __restrict__ , const struct timespec * __restrict__ );
extern int sigqueue(pid_t, int, const union sigval);
# 131
# 135
# 139
# 141
#pragma redefine_extname sigwait __posix_sigwait
# 144
extern int sigwait(const sigset_t * __restrict__ , int * __restrict__ );
# 162
# 168
# 170
# 174
# 37 "./signal.h"
# 53 "./signal.h"
# 55
# 58
# 64
# 1 "/usr/include/pthread.h"
# 21
# 30
# 33
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 35 "/usr/include/pthread.h"
# 1 "./sys/types.h"
# 18
# 22
# 33
# 1 "./time.h"
# 18
# 22
# 34
# 1 "./time.h"
# 18
# 22
# 34
# 1 "/usr/include/time.h"
# 21
# 31
# 35
# 36 "./time.h"
# 36 "./time.h"
# 1 "/usr/include/sched.h"
# 21
# 28
# 31
# 1 "./sys/types.h"
# 18
# 22
# 33
# 1 "./time.h"
# 18
# 22
# 34
# 1 "./time.h"
# 18
# 22
# 34
# 1 "/usr/include/time.h"
# 21
# 31
# 35
# 36 "./time.h"
# 36 "./time.h"
# 34 "/usr/include/sched.h"
# 38
struct sched_param {
int sched_priority;
int sched_pad[8];
};
# 55
# 59
int sched_getparam(pid_t, struct sched_param *);
int sched_setparam(pid_t, const struct sched_param *);
int sched_getscheduler(pid_t);
int sched_setscheduler(pid_t, int, const struct sched_param *);
int sched_yield(void);
int sched_get_priority_max(int);
int sched_get_priority_min(int);
int sched_rr_get_interval(pid_t, struct timespec *);
# 71
# 41 "/usr/include/pthread.h"
# 45
# 51
# 54
# 57
# 61
# 64
# 72
# 81
# 88
# 95
# 101
# 113
# 117
# 121
# 124
# 128
# 135
# 140
# 147
# 150
# 153
# 155
# 159
typedef struct _cleanup {
uintptr_t pthread_cleanup_pad[4];
} _cleanup_t;
void __pthread_cleanup_push(void (*)(void *), void *, caddr_t, _cleanup_t *);
void __pthread_cleanup_pop(int, _cleanup_t *);
caddr_t _getfp(void);
# 170
typedef void (*_Voidfp)(void*);
# 176
# 181
# 185
# 189
# 197
extern int pthread_atfork(void (*) (void), void (*) (void), void (*) (void));
extern int pthread_attr_init(pthread_attr_t *);
extern int pthread_attr_destroy(pthread_attr_t *);
extern int pthread_attr_setstack(pthread_attr_t *, void *, size_t);
extern int pthread_attr_getstack(const pthread_attr_t * __restrict__ ,
void ** __restrict__ , size_t * __restrict__ );
extern int pthread_attr_setstacksize(pthread_attr_t *, size_t);
extern int pthread_attr_getstacksize(const pthread_attr_t * __restrict__ ,
size_t * __restrict__ );
extern int pthread_attr_setstackaddr(pthread_attr_t *, void *);
extern int pthread_attr_getstackaddr(const pthread_attr_t * __restrict__ ,
void ** __restrict__ );
extern int pthread_attr_setdetachstate(pthread_attr_t *, int);
extern int pthread_attr_getdetachstate(const pthread_attr_t *, int *);
extern int pthread_attr_setscope(pthread_attr_t *, int);
extern int pthread_attr_getscope(const pthread_attr_t * __restrict__ ,
int * __restrict__ );
extern int pthread_attr_setinheritsched(pthread_attr_t *, int);
extern int pthread_attr_getinheritsched(const pthread_attr_t * __restrict__ ,
int * __restrict__ );
extern int pthread_attr_setschedpolicy(pthread_attr_t *, int);
extern int pthread_attr_getschedpolicy(const pthread_attr_t * __restrict__ ,
int * __restrict__ );
extern int pthread_attr_setschedparam(pthread_attr_t * __restrict__ ,
const struct sched_param * __restrict__ );
extern int pthread_attr_getschedparam(const pthread_attr_t * __restrict__ ,
struct sched_param * __restrict__ );
extern int pthread_attr_setname_np(pthread_attr_t * __restrict__ ,
const char * __restrict__ );
extern int pthread_attr_getname_np(pthread_attr_t * __restrict__ ,
char * __restrict__ , size_t);
extern int pthread_create(pthread_t * __restrict__ ,
const pthread_attr_t * __restrict__ , void * (*)(void *),
void * __restrict__ );
extern int pthread_once(pthread_once_t *, void (*)(void));
extern int pthread_join(pthread_t, void **);
extern int pthread_detach(pthread_t);
extern void pthread_exit(void *) ;
extern int pthread_cancel(pthread_t);
extern int pthread_setschedparam(pthread_t, int, const struct sched_param *);
extern int pthread_getschedparam(pthread_t, int * __restrict__ ,
struct sched_param * __restrict__ );
extern int pthread_setschedprio(pthread_t, int);
extern int pthread_setcancelstate(int, int *);
extern int pthread_setcanceltype(int, int *);
extern void pthread_testcancel(void);
extern int pthread_equal(pthread_t, pthread_t);
extern int pthread_key_create(pthread_key_t *, void (*)(void *));
extern int pthread_key_create_once_np(pthread_key_t *, void (*)(void *));
extern int pthread_key_delete(pthread_key_t);
extern int pthread_setspecific(pthread_key_t, const void *);
extern void *pthread_getspecific(pthread_key_t);
extern pthread_t pthread_self(void);
extern int pthread_setname_np(pthread_t, const char *);
extern int pthread_getname_np(pthread_t, char *, size_t);
# 256
extern int pthread_mutexattr_init(pthread_mutexattr_t *);
extern int pthread_mutexattr_destroy(pthread_mutexattr_t *);
extern int pthread_mutexattr_setpshared(pthread_mutexattr_t *, int);
extern int pthread_mutexattr_getpshared(
const pthread_mutexattr_t * __restrict__ , int * __restrict__ );
extern int pthread_mutexattr_setprotocol(pthread_mutexattr_t *, int);
extern int pthread_mutexattr_getprotocol(
const pthread_mutexattr_t * __restrict__ , int * __restrict__ );
extern int pthread_mutexattr_setprioceiling(pthread_mutexattr_t *, int);
extern int pthread_mutexattr_getprioceiling(
const pthread_mutexattr_t * __restrict__ , int * __restrict__ );
extern int pthread_mutexattr_setrobust(pthread_mutexattr_t *, int);
extern int pthread_mutexattr_getrobust(
const pthread_mutexattr_t * __restrict__ , int * __restrict__ );
extern int pthread_mutex_init(pthread_mutex_t * __restrict__ ,
const pthread_mutexattr_t * __restrict__ );
extern int pthread_mutex_consistent(pthread_mutex_t *);
extern int pthread_mutex_destroy(pthread_mutex_t *);
extern int pthread_mutex_lock(pthread_mutex_t *);
extern int pthread_mutex_timedlock(pthread_mutex_t * __restrict__ ,
const struct timespec * __restrict__ );
extern int pthread_mutex_reltimedlock_np(pthread_mutex_t * __restrict__ ,
const struct timespec * __restrict__ );
extern int pthread_mutex_unlock(pthread_mutex_t *);
extern int pthread_mutex_trylock(pthread_mutex_t *);
extern int pthread_mutex_setprioceiling(pthread_mutex_t * __restrict__ ,
int, int * __restrict__ );
extern int pthread_mutex_getprioceiling(const pthread_mutex_t * __restrict__ ,
int * __restrict__ );
extern int pthread_condattr_init(pthread_condattr_t *);
extern int pthread_condattr_destroy(pthread_condattr_t *);
extern int pthread_condattr_setclock(pthread_condattr_t *, clockid_t);
extern int pthread_condattr_getclock(const pthread_condattr_t * __restrict__ ,
clockid_t * __restrict__ );
extern int pthread_condattr_setpshared(pthread_condattr_t *, int);
extern int pthread_condattr_getpshared(const pthread_condattr_t * __restrict__ ,
int * __restrict__ );
extern int pthread_cond_init(pthread_cond_t * __restrict__ ,
const pthread_condattr_t * __restrict__ );
extern int pthread_cond_destroy(pthread_cond_t *);
extern int pthread_cond_broadcast(pthread_cond_t *);
extern int pthread_cond_signal(pthread_cond_t *);
extern int pthread_cond_wait(pthread_cond_t * __restrict__ ,
pthread_mutex_t * __restrict__ );
extern int pthread_cond_timedwait(pthread_cond_t * __restrict__ ,
pthread_mutex_t * __restrict__ , const struct timespec * __restrict__ );
extern int pthread_cond_reltimedwait_np(pthread_cond_t * __restrict__ ,
pthread_mutex_t * __restrict__ , const struct timespec * __restrict__ );
extern int pthread_attr_getguardsize(const pthread_attr_t * __restrict__ ,
size_t * __restrict__ );
extern int pthread_attr_setguardsize(pthread_attr_t *, size_t);
extern int pthread_getconcurrency(void);
extern int pthread_setconcurrency(int);
extern int pthread_mutexattr_settype(pthread_mutexattr_t *, int);
extern int pthread_mutexattr_gettype(const pthread_mutexattr_t * __restrict__ ,
int * __restrict__ );
extern int pthread_rwlock_init(pthread_rwlock_t * __restrict__ ,
const pthread_rwlockattr_t * __restrict__ );
extern int pthread_rwlock_destroy(pthread_rwlock_t *);
extern int pthread_rwlock_rdlock(pthread_rwlock_t *);
extern int pthread_rwlock_timedrdlock(pthread_rwlock_t * __restrict__ ,
const struct timespec * __restrict__ );
extern int pthread_rwlock_reltimedrdlock_np(pthread_rwlock_t * __restrict__ ,
const struct timespec * __restrict__ );
extern int pthread_rwlock_tryrdlock(pthread_rwlock_t *);
extern int pthread_rwlock_wrlock(pthread_rwlock_t *);
extern int pthread_rwlock_timedwrlock(pthread_rwlock_t * __restrict__ ,
const struct timespec * __restrict__ );
extern int pthread_rwlock_reltimedwrlock_np(pthread_rwlock_t * __restrict__ ,
const struct timespec * __restrict__ );
extern int pthread_rwlock_trywrlock(pthread_rwlock_t *);
extern int pthread_rwlock_unlock(pthread_rwlock_t *);
extern int pthread_rwlockattr_init(pthread_rwlockattr_t *);
extern int pthread_rwlockattr_destroy(pthread_rwlockattr_t *);
extern int pthread_rwlockattr_getpshared(
const pthread_rwlockattr_t * __restrict__ , int * __restrict__ );
extern int pthread_rwlockattr_setpshared(pthread_rwlockattr_t *, int);
extern int pthread_spin_init(pthread_spinlock_t *, int);
extern int pthread_spin_destroy(pthread_spinlock_t *);
extern int pthread_spin_lock(pthread_spinlock_t *);
extern int pthread_spin_trylock(pthread_spinlock_t *);
extern int pthread_spin_unlock(pthread_spinlock_t *);
extern int pthread_barrierattr_init(pthread_barrierattr_t *);
extern int pthread_barrierattr_destroy(pthread_barrierattr_t *);
extern int pthread_barrierattr_setpshared(pthread_barrierattr_t *, int);
extern int pthread_barrierattr_getpshared(
const pthread_barrierattr_t * __restrict__ , int * __restrict__ );
extern int pthread_barrier_init(pthread_barrier_t * __restrict__ ,
const pthread_barrierattr_t * __restrict__ , uint_t);
extern int pthread_barrier_destroy(pthread_barrier_t *);
extern int pthread_barrier_wait(pthread_barrier_t *);
extern int pthread_mutex_consistent_np(pthread_mutex_t *);
extern int pthread_mutexattr_setrobust_np(pthread_mutexattr_t *, int);
extern int pthread_mutexattr_getrobust_np(
const pthread_mutexattr_t * __restrict__ , int * __restrict__ );
# 359
extern int pthread_attr_get_np(pthread_t, pthread_attr_t *);
extern void pthread_mutex_enter_np(pthread_mutex_t *);
extern void pthread_mutex_exit_np(pthread_mutex_t *);
# 363
# 365
# 369
# 77 "./signal.h"
# 94
# 410
# 427
# 438
# 455
# 547
# 579
# 589
# 601
# 609
# 616
typedef void (*sighandler_t) (int);
# 623
# 634
# 642
# 665
extern int _gl_cxxalias_dummy ;
# 680
# 705
# 907
# 993
# 998
# 121 "./sys/select.h"
# 124
# 147
# 164
# 480
# 497
# 589
# 621
# 631
# 662
# 744
# 764
# 766
extern int _gl_cxxalias_dummy ;
# 782
# 811
# 51 "./sys/select.h"
# 496 "/usr/include/sys/time.h"
# 498
# 502
# 41 "./sys/time.h"
# 44
# 48
# 58
# 75
# 391
# 408
# 419
# 436
# 528
# 560
# 570
# 574
# 591
# 595
# 613
# 615
extern int _gl_cxxalias_dummy ;
# 618
extern int _gl_cxxalias_dummy ;
# 637
# 728
# 41 "./sys/time.h"
# 92 "./sys/select.h"
# 1 "./string.h"
# 18
# 22
# 34
# 100 "./sys/select.h"
# 1 "/usr/include/sys/select.h"
# 21
# 30
# 43
# 103 "./sys/select.h"
# 105
# 1 "./signal.h"
# 18
# 22
# 25
# 35
# 1 "./signal.h"
# 18
# 22
# 25
# 35
# 1 "/usr/include/signal.h"
# 22
# 31
# 37 "./signal.h"
# 37 "./signal.h"
# 121 "./sys/select.h"
# 37 "./sys/select.h"
# 663 "/usr/include/sys/types.h"
# 665
# 675
# 677
# 681
# 41 "./sys/types.h"
# 41 "./sys/types.h"
# 1 "/usr/include/sys/time_impl.h"
# 22
# 26
# 36
# 49 "/usr/include/time.h"
# 69
# 73
# 78
# 83
# 87
extern struct tm *gmtime_r(const time_t * __restrict__ ,
struct tm * __restrict__ );
extern struct tm *localtime_r(const time_t * __restrict__ ,
struct tm * __restrict__ );
# 92
# 95
# 104
extern char *strptime(const char * __restrict__ , const char * __restrict__ ,
struct tm * __restrict__ );
# 109
# 112
# 130
# 142
extern int clock_getres(clockid_t, struct timespec *);
extern int clock_gettime(clockid_t, struct timespec *);
extern int clock_settime(clockid_t, const struct timespec *);
extern int timer_create(clockid_t, struct sigevent * __restrict__ ,
timer_t * __restrict__ );
extern int timer_delete(timer_t);
extern int timer_getoverrun(timer_t);
extern int timer_gettime(timer_t, struct itimerspec *);
extern int timer_settime(timer_t, int, const struct itimerspec * __restrict__ ,
struct itimerspec * __restrict__ );
extern int nanosleep(const struct timespec *, struct timespec *);
extern int clock_nanosleep(clockid_t, int,
const struct timespec *, struct timespec *);
# 159
# 162
extern void tzset(void);
extern char *tzname[2];
# 169
extern long _sysconf(int);
# 171
# 174
# 177
extern long timezone;
extern int daylight;
# 180
# 182
# 185
extern time_t timegm(struct tm *);
extern int cftime(char *, char *, const time_t *);
extern int ascftime(char *, const char *, const struct tm *);
extern long altzone;
# 190
# 193
extern struct tm *getdate(const char *);
# 197
extern int *_getdate_err_addr(void);
# 202
# 206
# 238
# 242
# 244
#pragma redefine_extname ctime_r __posix_ctime_r
#pragma redefine_extname asctime_r __posix_asctime_r
# 248
extern char *asctime_r(const struct tm * __restrict__ , char * __restrict__ );
extern char *ctime_r(const time_t *, char *);
# 277
# 284
# 286
# 289
# 294
extern size_t strftime_l(char * __restrict__ , size_t,
const char * __restrict__ , const struct tm * __restrict__ , locale_t);
# 299
# 301
# 307
extern int timespec_get(struct timespec *, int);
# 310
# 314
# 36 "./time.h"
# 48 "./time.h"
# 1 "/usr/include/stddef.h"
# 22
# 30
# 51 "./time.h"
# 68
# 384
# 401
# 412
# 429
# 521
# 553
# 563
# 598
# 600
# 605
struct __time_t_must_be_integral {
unsigned int __floating_time_t_unsupported : (time_t) 1;
};
# 610
# 618
# 641
# 652
# 666
# 686
extern int _gl_cxxalias_dummy ;
# 689
extern int _gl_cxxalias_dummy ;
# 691
# 712
# 722
extern int _gl_cxxalias_dummy ;
# 724
extern int _gl_cxxalias_dummy ;
# 726
# 733
extern time_t rpl_mktime ( struct tm * __tp );
extern int _gl_cxxalias_dummy ;
# 742
# 763
extern int _gl_cxxalias_dummy ;
# 767
extern int _gl_cxxalias_dummy ;
# 785
extern int _gl_cxxalias_dummy ;
# 789
extern int _gl_cxxalias_dummy ;
# 792
# 812
# 827
# 843
# 862
# 886
# 888
# 891
# 894
typedef struct tm_zone *timezone_t;
# 904
extern timezone_t tzalloc ( char const * __name );
extern int _gl_cxxalias_dummy ;
# 910
extern void tzfree ( timezone_t __tz );
extern int _gl_cxxalias_dummy ;
# 918
extern struct tm * localtime_rz ( timezone_t __tz , time_t const *
__restrict__ __timer , struct tm * __restrict__ __result ) ;
# 921
extern int _gl_cxxalias_dummy ;
# 924
# 930
extern time_t mktime_z ( timezone_t __tz , struct tm * __restrict__ __tm ) ;
# 933
extern int _gl_cxxalias_dummy ;
# 935
# 941
# 943
# 951
extern time_t rpl_timegm ( struct tm * __tm );
extern int _gl_cxxalias_dummy ;
# 963
# 991
# 28 "time_rz.c"
# 1 "/usr/include/errno.h"
# 22
# 30
# 34
# 38
# 1 "/usr/include/sys/errno.h"
# 22
# 26
# 39
# 42
# 46
# 50
# 99
# 102
# 111
# 113
# 117
# 123
# 130
# 133
# 136
# 145
# 159
# 172
# 175
# 179
# 185
# 195
# 198
# 203
# 40 "/usr/include/errno.h"
# 44
# 46
# 51
# 53
extern int *___errno();
# 62
# 70
# 74
# 1 "/usr/include/stddef.h"
# 22
# 30
# 1 "./stdlib.h"
# 18
# 22
# 31
# 34
# 1 "./stdlib.h"
# 18
# 22
# 31
# 34
# 1 "/usr/include/stdlib.h"
# 21
# 28
# 33
# 39
# 1 "/usr/include/iso/stdlib_iso.h"
# 22
# 29
# 45
# 48
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "/usr/include/sys/null.h"
# 11
# 15
# 51 "/usr/include/iso/stdlib_iso.h"
# 55
unsigned char __mb_cur_max(void);
# 60
# 64
typedef struct {
int quot;
int rem;
} div_t;
typedef struct {
long quot;
long rem;
} ldiv_t;
# 83
# 87
# 111
# 119
extern _Noreturn void abort(void) ;
extern int abs(int);
extern int atexit(void (*)(void));
extern double atof(const char *);
extern int atoi(const char *);
extern long int atol(const char *);
extern void *bsearch(const void *, const void *, size_t, size_t,
int (*)(const void *, const void *));
# 134
extern void *calloc(size_t, size_t);
extern div_t div(int, int);
extern _Noreturn void exit(int)
;
extern void free(void *);
extern char *getenv(const char *);
extern long int labs(long);
extern ldiv_t ldiv(long, long);
extern void *malloc(size_t);
extern int mblen(const char *, size_t);
extern size_t mbstowcs(wchar_t * __restrict__ , const char * __restrict__ ,
size_t);
extern int mbtowc(wchar_t * __restrict__ , const char * __restrict__ , size_t);
extern void qsort(void *, size_t, size_t, int (*)(const void *, const void *));
# 153
extern int rand(void);
extern void *realloc(void *, size_t);
extern void srand(unsigned int);
extern double strtod(const char * __restrict__ , char ** __restrict__ );
extern long int strtol(const char * __restrict__ , char ** __restrict__ , int);
extern unsigned long int strtoul(const char * __restrict__ ,
char ** __restrict__ , int);
extern int system(const char *);
extern int wctomb(char *, wchar_t);
extern size_t wcstombs(char * __restrict__ , const wchar_t * __restrict__ ,
size_t);
# 171
# 175
# 179
# 1 "/usr/include/iso/stdlib_c99.h"
# 22
# 28
# 39
# 42
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 44 "/usr/include/iso/stdlib_c99.h"
# 48
# 56
# 58
typedef struct {
long long quot;
long long rem;
} lldiv_t;
# 63
# 66
# 74
extern _Noreturn void _Exit(int);
extern float strtof(const char * __restrict__ , char ** __restrict__ );
extern long double strtold(const char * __restrict__ , char ** __restrict__ );
# 80
extern long long atoll(const char *);
extern long long llabs(long long);
extern lldiv_t lldiv(long long, long long);
extern long long strtoll(const char * __restrict__ , char ** __restrict__ ,
int);
extern unsigned long long strtoull(const char * __restrict__ ,
char ** __restrict__ , int);
# 88
# 90
# 94
# 1 "/usr/include/iso/stdlib_c11.h"
# 11
# 15
# 26
# 29
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 31 "/usr/include/iso/stdlib_c11.h"
# 35
# 39
# 47
# 58
# 60
extern void *aligned_alloc(size_t, size_t);
# 62
# 64
extern int at_quick_exit(void (*)(void));
extern _Noreturn void quick_exit(int);
# 67
# 71
# 97
# 101
# 43 "/usr/include/stdlib.h"
# 1 "/usr/include/sys/wait.h"
# 22
# 31
# 34
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 36 "/usr/include/sys/wait.h"
# 1 "./sys/types.h"
# 18
# 22
# 33
# 38 "/usr/include/sys/wait.h"
# 1 "/usr/include/sys/resource.h"
# 21
# 27
# 40
# 43
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 45 "/usr/include/sys/resource.h"
# 1 "./sys/types.h"
# 18
# 22
# 33
# 1 "./sys/time.h"
# 18
# 48 "/usr/include/sys/resource.h"
# 52
# 66
# 78
# 80
# 82
typedef unsigned long rlim_t;
# 88
# 114
# 131
struct rlimit {
rlim_t rlim_cur;
rlim_t rlim_max;
};
# 139
typedef u_longlong_t rlim64_t;
# 145
struct rlimit64 {
rlim64_t rlim_cur;
rlim64_t rlim_max;
};
# 152
# 159
# 162
# 169
struct rusage {
struct timeval ru_utime;
struct timeval ru_stime;
long ru_maxrss;
long ru_ixrss;
long ru_idrss;
long ru_isrss;
long ru_minflt;
long ru_majflt;
long ru_nswap;
long ru_inblock;
long ru_oublock;
long ru_msgsnd;
long ru_msgrcv;
long ru_nsignals;
long ru_nvcsw;
long ru_nivcsw;
};
# 194
# 217
# 226
# 230
# 245
# 247
#pragma redefine_extname setrlimit64 setrlimit
#pragma redefine_extname getrlimit64 getrlimit
# 260
extern int setrlimit(int, const struct rlimit *);
extern int getrlimit(int, struct rlimit *);
# 267
extern int setrlimit64(int, const struct rlimit64 *);
extern int getrlimit64(int, struct rlimit64 *);
# 270
extern int getpriority(int, id_t);
extern int setpriority(int, id_t, int);
extern int getrusage(int, struct rusage *);
# 276
# 280
# 1 "/usr/include/sys/siginfo.h"
# 22
# 26
# 1 "/usr/include/sys/procset.h"
# 22
# 26
# 44 "/usr/include/sys/wait.h"
# 48
# 52
# 55
# 65
# 69
# 71
# 76
# 80
# 83
# 85
# 94
# 97
extern pid_t wait(int *);
extern pid_t waitpid(pid_t, int *, int);
# 102
extern int waitid(idtype_t, id_t, siginfo_t *, int);
# 105
extern pid_t wait3(int *, int, struct rusage *);
# 108
# 110
extern pid_t wait4(pid_t, int *, int, struct rusage *);
# 112
# 114
# 118
# 47 "/usr/include/stdlib.h"
# 85
# 97
# 101
# 106
# 123
# 126
#pragma redefine_extname mkstemp64 mkstemp
#pragma redefine_extname mkstemps64 mkstemps
#pragma redefine_extname mkostemp64 mkostemp
#pragma redefine_extname mkostemps64 mkostemps
# 138
# 140
# 144
extern int rand_r(unsigned int *);
# 146
extern void _exithandle(void);
# 152
extern double drand48(void);
extern double erand48(unsigned short *);
extern long jrand48(unsigned short *);
extern void lcong48(unsigned short *);
extern long lrand48(void);
extern long mrand48(void);
extern long nrand48(unsigned short *);
extern unsigned short *seed48(unsigned short *);
extern void srand48(long);
extern int putenv(char *);
extern void setkey(const char *);
# 164
# 184
extern void swab(const char *, char *, ssize_t);
# 187
# 191
extern int mkstemp(char *);
# 193
extern int mkstemps(char *, int);
# 196
# 199
extern int mkstemp64(char *);
# 201
extern int mkstemps64(char *, int);
# 204
# 206
extern char *mkdtemp(char *);
# 208
# 210
extern int mkostemp(char *, int);
extern int mkostemps(char *, int, int);
# 214
extern int mkostemp64(char *, int);
extern int mkostemps64(char *, int, int);
# 218
# 222
extern long a64l(const char *);
extern char *ecvt(double, int, int * __restrict__ , int * __restrict__ );
extern char *fcvt(double, int, int * __restrict__ , int * __restrict__ );
extern char *gcvt(double, int, char *);
extern int getsubopt(char **, char *const *, char **);
extern int grantpt(int);
extern char *initstate(unsigned, char *, size_t);
extern char *l64a(long);
extern char *mktemp(char *);
extern char *ptsname(int);
extern long random(void);
extern char *realpath(const char * __restrict__ , char * __restrict__ );
extern char *setstate(const char *);
extern void srandom(unsigned);
extern int unlockpt(int);
# 239
extern int ttyslot(void);
extern void *valloc(size_t);
# 243
# 247
extern int posix_memalign(void **, size_t, size_t);
extern int posix_openpt(int);
extern int setenv(const char *, const char *, int);
extern int unsetenv(const char *);
# 252
# 265
# 268
extern char *canonicalize_file_name(const char *);
extern int clearenv(void);
extern void closefrom(int);
extern int daemon(int, int);
extern int dup2(int, int);
extern int dup3(int, int, int);
extern int fdwalk(int (*)(void *, int), void *);
extern char *qecvt(long double, int, int *, int *);
extern char *qfcvt(long double, int, int *, int *);
extern char *qgcvt(long double, int, char *);
extern char *getcwd(char *, size_t);
extern const char *getexecname(void);
#pragma redefine_extname getlogin getloginx
# 291
extern char *getlogin(void);
# 293
extern int getopt(int, char *const *, const char *);
extern char *optarg;
extern int optind, opterr, optopt;
extern char *getpass(const char *);
extern char *getpassphrase(const char *);
extern int getpw(uid_t, char *);
extern int isatty(int);
extern void *memalign(size_t, size_t);
extern char *ttyname(int);
extern char *mkdtemp(char *);
extern const char *getprogname(void);
extern void setprogname(const char *);
# 308
extern char *lltostr(long long, char *);
extern char *ulltostr(unsigned long long, char *);
# 311
# 313
# 316
# 1 "./inttypes.h"
# 18
# 23
# 27
# 35
# 40
# 1 "./inttypes.h"
# 18
# 23
# 27
# 35
# 40
# 1 "/usr/include/inttypes.h"
# 22
# 28
# 31
# 40
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "/usr/include/sys/inttypes.h"
# 22
# 26
# 29
# 39
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "/usr/include/sys/int_types.h"
# 22
# 28
# 1 "/usr/include/sys/int_limits.h"
# 22
# 28
# 31
# 55
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 57 "/usr/include/sys/int_limits.h"
# 61
# 91
# 100
# 106
# 112
# 119
# 126
# 133
# 140
# 154
# 161
# 174
# 179
# 188
# 193
# 200
# 209
# 215
# 222
# 229
# 236
# 243
# 248
# 257
# 262
# 264
# 268
# 1 "/usr/include/sys/int_const.h"
# 22
# 28
# 31
# 53
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 55 "/usr/include/sys/int_const.h"
# 59
# 75
# 77
# 82
# 90
# 93
# 95
# 98
# 106
# 108
# 110
# 123
# 127
# 1 "/usr/include/sys/int_fmtio.h"
# 22
# 28
# 31
# 50
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 52 "/usr/include/sys/int_fmtio.h"
# 56
# 78
# 89
# 96
# 117
# 138
# 142
# 163
# 184
# 205
# 226
# 230
# 246
# 265
# 281
# 300
# 316
# 332
# 348
# 367
# 374
# 378
# 47 "/usr/include/sys/inttypes.h"
# 43 "/usr/include/inttypes.h"
# 1 "/usr/include/sys/stdint.h"
# 22
# 26
# 29
# 35
# 1 "/usr/include/sys/int_types.h"
# 22
# 28
# 1 "/usr/include/sys/int_limits.h"
# 22
# 28
# 1 "/usr/include/sys/int_const.h"
# 22
# 28
# 39 "/usr/include/sys/stdint.h"
# 48 "/usr/include/inttypes.h"
# 52
# 78
# 81
typedef struct {
intmax_t quot;
intmax_t rem;
} imaxdiv_t;
# 86
# 104
# 107
extern intmax_t imaxabs(intmax_t);
extern imaxdiv_t imaxdiv(intmax_t, intmax_t);
extern intmax_t strtoimax(const char * __restrict__ , char ** __restrict__ ,
int);
extern uintmax_t strtoumax(const char * __restrict__ , char ** __restrict__ ,
int);
extern intmax_t wcstoimax(const wchar_t * __restrict__ ,
wchar_t ** __restrict__ , int);
extern uintmax_t wcstoumax(const wchar_t * __restrict__ ,
wchar_t ** __restrict__ , int);
# 120
# 124
# 42 "./inttypes.h"
# 46
# 49
# 1 "./stdint.h"
# 18
# 23
# 25
# 29
# 36
# 45
# 53
# 61
# 71
# 1 "./stdint.h"
# 18
# 23
# 25
# 29
# 36
# 45
# 53
# 61
# 71
# 1 "/usr/include/stdint.h"
# 22
# 26
# 29
# 35
# 1 "/usr/include/sys/stdint.h"
# 22
# 26
# 37 "/usr/include/stdint.h"
# 44
# 79 "./stdint.h"
# 82
# 1 "./limits.h"
# 18
# 22
# 34
# 37
# 39
# 1 "./limits.h"
# 18
# 22
# 25
# 30
# 1 "/usr/include/limits.h"
# 21
# 30
# 37
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 1 "/usr/include/sys/isa_defs.h"
# 22
# 28
# 1 "/usr/include/iso/limits_iso.h"
# 22
# 26
# 42
# 45
# 49
# 57
# 59
# 69
# 78
# 80
# 82
# 91
# 93
# 95
# 97
# 101
# 1 "/usr/include/sys/limits.h"
# 11
# 14
# 17
# 21
# 23
# 27
# 31
# 42 "/usr/include/limits.h"
# 1 "/usr/include/sys/int_limits.h"
# 22
# 28
# 55 "/usr/include/limits.h"
# 59
# 62
# 64
# 77
# 86
# 90
# 92
# 96
# 98
# 100
# 104
# 148
# 154
# 159
# 163
# 172
# 174
# 187
# 189
# 193
# 199
# 205
# 207
# 209
# 216
# 223
# 228
# 231
# 233
# 237
# 239
# 241
# 243
# 247
# 250
# 253
# 271
# 276
# 278
# 283
# 287
# 299
# 304
# 309
# 311
# 313
# 1 "/usr/include/sys/unistd.h"
# 21
# 27
# 32
# 38
# 316 "/usr/include/limits.h"
# 325
extern long _sysconf(int);
# 329
# 334
# 338
# 32 "./limits.h"
# 42 "./limits.h"
# 44
# 47
# 75
# 89
# 102
# 120
# 132
# 86 "./stdint.h"
# 95
# 97
# 1 "./sys/types.h"
# 18
# 22
# 33
# 107 "./stdint.h"
# 109
# 1 "./inttypes.h"
# 18
# 23
# 27
# 35
# 40
# 1 "./inttypes.h"
# 18
# 23
# 27
# 35
# 40
# 1 "/usr/include/inttypes.h"
# 22
# 28
# 42 "./inttypes.h"
# 46
# 42 "./inttypes.h"
# 46
# 118 "./stdint.h"
# 125
# 127
# 131
# 139
# 142
# 144
# 149
# 152
typedef signed char gl_int8_t;
typedef unsigned char gl_uint8_t;
# 156
# 159
typedef short int gl_int16_t;
typedef unsigned short int gl_uint16_t;
# 163
# 166
typedef int gl_int32_t;
typedef unsigned int gl_uint32_t;
# 170
# 176
# 199
# 220
# 225
# 232
# 253
# 258
# 264
# 273
typedef signed char gl_int_fast8_t;
typedef unsigned char gl_uint_fast8_t;
# 277
# 279
typedef int gl_int_fast32_t;
typedef unsigned int gl_uint_fast32_t;
# 285
typedef gl_int_fast32_t gl_int_fast16_t;
typedef gl_uint_fast32_t gl_uint_fast16_t;
# 300
# 317
typedef long int gl_intptr_t;
typedef unsigned long int gl_uintptr_t;
# 323
# 328
# 332
# 346
# 360
# 364
typedef int _verify_intmax_size[sizeof (intmax_t) == sizeof (uintmax_t)
? 1 : -1];
# 369
# 376
# 383
# 390
# 397
# 404
# 408
# 414
# 421
# 428
# 435
# 442
# 447
# 453
# 460
# 467
# 480
# 487
# 492
# 507
# 520
# 528
# 548
# 562
# 575
# 598
# 615
# 623
# 628
# 633
# 638
# 655
# 667
# 677
# 679
# 738
# 79 "./stdint.h"
# 55 "./inttypes.h"
# 1 "./limits.h"
# 18
# 22
# 34
# 57 "./inttypes.h"
# 61
# 65
# 82
# 398
# 415
# 426
# 443
# 535
# 567
# 577
# 587
# 714
# 791
# 940
# 983
# 1014
# 1123
# 1188
# 1343
# 1379
# 1405
# 1411
# 1436
# 1467
# 1486
extern int _gl_cxxalias_dummy ;
# 1489
extern int _gl_cxxalias_dummy ;
# 1497
# 1527
# 1530
# 1534
# 42 "./inttypes.h"
# 46
# 318 "/usr/include/stdlib.h"
extern gl_uint32_t arc4random(void);
extern void arc4random_buf(void *, size_t);
extern gl_uint32_t arc4random_uniform( gl_uint32_t );
extern void freezero(void *, size_t);
extern void *reallocarray(void *, size_t, size_t);
extern void *recallocarray(void *, size_t, size_t, size_t);
extern long long strtonum(const char *, long long, long long, const char **);
extern void *reallocf(void *, size_t);
extern void qsort_r(void *, size_t, size_t,
int (*)(const void *, const void *, void *), void *);
# 330
# 335
# 37 "./stdlib.h"
# 40
# 1 "/usr/include/stddef.h"
# 22
# 30
# 43 "./stdlib.h"
# 48
# 51
# 1 "./sys/time.h"
# 18
# 1 "/usr/include/sys/loadavg.h"
# 21
# 27
# 30
# 34
# 38
# 40
# 43
struct loadavg_s {
int lg_cur;
unsigned int lg_len;
hrtime_t lg_total;
hrtime_t lg_loads[ 11 ];
};
# 56
# 60
extern int getloadavg(double [], int);
# 63
# 67
# 56 "./stdlib.h"
# 61
# 93
# 95
# 1 "./unistd.h"
# 17
# 19
# 23
# 35
# 1 "./unistd.h"
# 17
# 19
# 23
# 26
# 31
# 1 "/usr/include/unistd.h"
# 21
# 29
# 37
# 1 "/usr/include/sys/feature_tests.h"
# 21
# 30
# 39 "/usr/include/unistd.h"
# 1 "/usr/include/sys/null.h"
# 11
# 15
# 1 "./sys/types.h"
# 18
# 22
# 33
# 1 "/usr/include/sys/unistd.h"
# 21
# 27
# 32
# 38
# 43 "/usr/include/unistd.h"
# 47
# 53
# 60
# 66
# 70
# 74
# 79
# 84
# 86
# 90
# 96
# 102
# 133
# 154
# 166
# 178
# 182
# 186
# 196
# 217
#pragma redefine_extname ftruncate64 ftruncate
#pragma redefine_extname lseek64 lseek
#pragma redefine_extname pread64 pread
#pragma redefine_extname pwrite64 pwrite
#pragma redefine_extname truncate64 truncate
#pragma redefine_extname lockf64 lockf
#pragma redefine_extname tell64 tell
# 238
extern int access(const char *, int);
# 241
extern int acct(const char *);
# 243
extern unsigned alarm(unsigned);
# 247
extern int brk(void *);
# 249
extern int chdir(const char *);
extern int chown(const char *, uid_t, gid_t);
# 254
extern int chroot(const char *);
# 256
extern int close(int);
# 258
extern size_t confstr(int, char *, size_t);
extern char *crypt(const char *, const char *);
# 263
extern char *ctermid(char *);
# 266
extern char *ctermid_r(char *);
# 268
# 270
extern char *cuserid(char *);
# 272
extern int dup(int);
extern int dup2(int, int);
extern int dup3(int, int, int);
# 276
extern void encrypt(char *, int);
# 279
extern void endusershell(void);
# 281
extern int execl(const char *, const char *, ...);
extern int execle(const char *, const char *, ...);
extern int execlp(const char *, const char *, ...);
extern int execv(const char *, char *const *);
extern int execve(const char *, char *const *, char *const *);
extern int execvp(const char *, char *const *);
extern void _exit(int)
;
# 295
extern int fattach(int, const char *);
# 298
extern int fchdir(int);
extern int fchown(int, uid_t, gid_t);
# 302
extern int fchroot(int);
# 306
extern int fdatasync(int);
# 308
# 314
extern int fdetach(const char *);
# 316
extern pid_t fork(void);
# 318
extern pid_t fork1(void);
extern pid_t forkall(void);
# 321
extern long fpathconf(int, int);
# 324
extern int fsync(int);
# 329
extern int ftruncate(int, off_t);
# 331
extern char *getcwd(char *, size_t);
# 334
extern int getdtablesize(void);
# 336
extern gid_t getegid(void);
extern uid_t geteuid(void);
extern gid_t getgid(void);
extern int getgroups(int, gid_t *);
# 341
extern long gethostid(void);
# 346
extern int gethostname(char *, int);
# 348
# 361
# 363
extern int getopt(int, char *const *, const char *);
extern char *optarg;
extern int opterr, optind, optopt;
# 368
extern char *getpass(const char *);
# 372
# 374
extern int getpagesize(void);
# 376
extern pid_t getpgid(pid_t);
# 378
extern pid_t getpid(void);
extern pid_t getppid(void);
extern pid_t getpgrp(void);
# 383
char *gettxt(const char *, const char *);
# 386
extern pid_t getsid(pid_t);
# 388
extern uid_t getuid(void);
# 390
extern char *getusershell(void);
# 392
# 398
extern int ioctl(int, int, ...);
extern int isaexec(const char *, char *const *, char *const *);
extern int issetugid(void);
# 402
extern int isatty(int);
# 404
extern int lchown(const char *, uid_t, gid_t);
# 406
extern int link(const char *, const char *);
# 408
extern offset_t llseek(int, offset_t, int);
# 413
extern int lockf(int, int, off_t);
# 415
extern off_t lseek(int, off_t, int);
# 418
extern int nice(int);
# 421
extern int mincore(caddr_t, size_t, char *);
# 423
extern long pathconf(const char *, int);
extern int pause(void);
extern int pipe(int *);
extern int pipe2(int *, int);
# 430
extern ssize_t pread(int, void *, size_t, off_t);
# 433
extern void profil(unsigned short *, size_t, unsigned long, unsigned int);
# 435
# 445
extern int pthread_atfork(void (*) (void), void (*) (void), void (*) (void));
# 454
extern ssize_t pwrite(int, const void *, size_t, off_t);
# 457
extern int rcmd_af(char **, unsigned short, const char *, const char *,
const char *, int *, int);
# 461
extern ssize_t read(int, void *, size_t);
# 464
extern ssize_t readlink(const char * __restrict__ , char * __restrict__ ,
size_t);
# 472
extern int rename(const char *, const char *);
# 480
extern int resolvepath(const char *, char *, size_t);
extern int rexec_af(char **, unsigned short, const char *, const char *,
const char *, int *, int);
# 485
extern int rmdir(const char *);
# 487
extern int rresvport_af(int *, int);
# 490
# 493
extern void *sbrk( gl_intptr_t );
# 496
extern int setegid(gid_t);
extern int seteuid(uid_t);
# 499
extern int setgid(gid_t);
# 501
extern int setgroups(int, const gid_t *);
extern int sethostname(char *, int);
# 504
extern int setpgid(pid_t, pid_t);
# 506
extern pid_t setpgrp(void);
extern int setregid(gid_t, gid_t);
extern int setreuid(uid_t, uid_t);
# 510
extern pid_t setsid(void);
extern int setuid(uid_t);
# 513
extern void setusershell(void);
# 515
extern unsigned sleep(unsigned);
# 517
extern int stime(const time_t *);
# 524
extern int symlink(const char *, const char *);
extern void sync(void);
# 534
extern long sysconf(int);
extern pid_t tcgetpgrp(int);
extern int tcsetpgrp(int, pid_t);
# 540
extern off_t tell(int);
# 545
extern int truncate(const char *, off_t);
# 547
extern char *ttyname(int);
# 549
extern useconds_t ualarm(useconds_t, useconds_t);
# 551
extern int unlink(const char *);
# 553
extern char *getwd(char *);
extern int usleep(useconds_t);
extern pid_t vfork(void) ;
#pragma unknown_control_flow(vfork)
# 559
extern void vhangup(void);
# 561
extern ssize_t write(int, const void *, size_t);
# 563
extern void yield(void);
# 565
# 568
extern int faccessat(int, const char *, int, int);
extern int fchownat(int, const char *, uid_t, gid_t, int);
extern int linkat(int, const char *, int, const char *, int);
extern ssize_t readlinkat(int, const char * __restrict__ ,
char * __restrict__ , size_t);
extern int renameat(int, const char *, int, const char *);
extern int symlinkat(const char *, int, const char *);
extern int unlinkat(int, const char *, int);
# 579
extern int get_nprocs(void);
extern int get_nprocs_conf(void);
# 582
# 586
extern int ftruncate64(int, off64_t);
extern off64_t lseek64(int, off64_t, int);
extern ssize_t pread64(int, void *, size_t, off64_t);
extern ssize_t pwrite64(int, const void *, size_t, off64_t);
extern off64_t tell64(int);
extern int truncate64(const char *, off64_t);
extern int lockf64(int, int, off64_t);
# 594
# 598
# 630
# 634
# 636
#pragma redefine_extname getlogin_r __posix_getloginx_r
# 640
extern int getlogin_r(char *, int);
# 667
#pragma redefine_extname ttyname_r __posix_ttyname_r
# 670
extern int ttyname_r(int, char *, size_t);
# 688
# 704
# 706
# 708
extern int getentropy(void *, size_t);
# 710
# 714
# 33 "./unistd.h"
# 43 "./unistd.h"
# 61
# 69
# 72
# 1 "/usr/include/stddef.h"
# 22
# 30
# 78 "./unistd.h"
# 82
# 92
# 95
# 101
# 105
# 108
# 1 "./stdlib.h"
# 18
# 22
# 25
# 27
# 1 "./stdlib.h"
# 18
# 22
# 25
# 27
# 1 "/usr/include/stdlib.h"
# 21
# 28
# 33
# 29 "./stdlib.h"
# 29 "./stdlib.h"
# 114 "./unistd.h"
# 123
# 128
# 131
# 137
# 140
# 148
# 155
# 158
# 1 "./sys/types.h"
# 18
# 22
# 33
# 160 "./unistd.h"
# 177
# 493
# 510
# 521
# 538
# 630
# 662
# 672
# 1 "./getopt-cdefs.h"
# 20
# 23
# 27
# 34
# 49
# 58
# 66
# 1 "./getopt-pfx-core.h"
# 19
# 22
# 26
# 49
# 57
# 63
# 1 "./getopt-core.h"
# 19
# 22
# 27
# 35
extern char * rpl_optarg ;
# 49
extern int rpl_optind ;
# 54
extern int rpl_opterr ;
extern int rpl_optopt ;
# 90
extern int rpl_getopt ( int ___argc , char * const * ___argv , const char *
__shortopts )
;
# 65 "./getopt-pfx-core.h"
# 679 "./unistd.h"
# 683
# 687
# 762
# 774
# 782
# 816
# 826
extern int _gl_cxxalias_dummy ;
# 828
extern int _gl_cxxalias_dummy ;
# 830
# 850
# 860
extern int _gl_cxxalias_dummy ;
# 862
extern int _gl_cxxalias_dummy ;
# 864
# 896
# 926
# 936
extern int _gl_cxxalias_dummy ;
# 938
extern int _gl_cxxalias_dummy ;
# 940
# 956
extern ssize_t copy_file_range ( int ifd , off_t * ipos , int ofd , off_t *
opos , size_t len , unsigned flags ) ;
# 960
extern int _gl_cxxalias_dummy ;
# 964
extern int _gl_cxxalias_dummy ;
# 973
# 999
# 1009
extern int _gl_cxxalias_dummy ;
# 1011
extern int _gl_cxxalias_dummy ;
# 1013
# 1016
# 1034
extern int _gl_cxxalias_dummy ;
# 1036
extern int _gl_cxxalias_dummy ;
# 1058
# 1092
# 1103
# 1118
extern char **environ;
# 1137
# 1160
# 1182
# 1192
extern int _gl_cxxalias_dummy ;
# 1194
extern int _gl_cxxalias_dummy ;
# 1196
# 1217
# 1228
extern int _gl_cxxalias_dummy ;
# 1230
extern int _gl_cxxalias_dummy ;
# 1232
# 1253
# 1264
extern int _gl_cxxalias_dummy ;
# 1266
extern int _gl_cxxalias_dummy ;
# 1268
# 1290
# 1301
extern int _gl_cxxalias_dummy ;
# 1303
extern int _gl_cxxalias_dummy ;
# 1305
# 1329
# 1341
extern int _gl_cxxalias_dummy ;
# 1344
extern int _gl_cxxalias_dummy ;
# 1346
# 1367
# 1378
extern int _gl_cxxalias_dummy ;
# 1380
extern int _gl_cxxalias_dummy ;
# 1382
# 1413
# 1427
extern int execvpe ( const char * program , char * const * argv , char * const
* env ) ;
# 1431
extern int _gl_cxxalias_dummy ;
# 1435
extern int _gl_cxxalias_dummy ;
# 1438
# 1457
extern int _gl_cxxalias_dummy ;
# 1470
# 1502
# 1532
# 1562
# 1565
# 1572
extern int _gl_cxxalias_dummy ;
extern int _gl_cxxalias_dummy ;
# 1581
# 1611
# 1649
# 1661
extern int _gl_cxxalias_dummy ;
# 1663
extern int _gl_cxxalias_dummy ;
# 1665
# 1703
# 1731
# 1758
# 1787
# 1826
# 1851
# 1894
# 1981
# 2012
# 2015
# 2025
extern int _gl_cxxalias_dummy ;
# 2027
extern int _gl_cxxalias_dummy ;
# 2029
# 2046
# 2061
# 2077
# 2093
# 2121
# 2131
extern int _gl_cxxalias_dummy ;
# 2133
extern int _gl_cxxalias_dummy ;
# 2135
# 2166
# 2195
# 2234
# 2264
# 2274
extern int _gl_cxxalias_dummy ;
# 2276
extern int _gl_cxxalias_dummy ;
# 2278
# 2296
# 2299
# 2312
extern int rpl_pipe2 ( int fd [ 2 ] , int flags );
extern int _gl_cxxalias_dummy ;
# 2328
# 2365
# 2402
# 2427
# 2441
extern int _gl_cxxalias_dummy ;
# 2443
extern int _gl_cxxalias_dummy ;
# 2445
# 2448
# 2471
extern int _gl_cxxalias_dummy ;
# 2475
extern int _gl_cxxalias_dummy ;
# 2483
# 2504
extern int _gl_cxxalias_dummy ;
# 2518
# 2545
# 2555
extern int _gl_cxxalias_dummy ;
# 2557
extern int _gl_cxxalias_dummy ;
# 2559
# 2598
# 2626
# 2629
# 2646
extern int _gl_cxxalias_dummy ;
# 2649
extern int _gl_cxxalias_dummy ;
# 2651
# 2667
extern int _gl_cxxalias_dummy ;
# 2669
extern int _gl_cxxalias_dummy ;
# 2677
# 2709
# 2741
# 2773
# 2800
# 2810
extern int _gl_cxxalias_dummy ;
# 2812
extern int _gl_cxxalias_dummy ;
# 2814
# 2840
# 2870
# 2895
# 2909
extern int _gl_cxxalias_dummy ;
# 2911
extern int _gl_cxxalias_dummy ;
# 2913
# 102 "./stdlib.h"
# 113
# 116
# 120
# 123
# 131
# 141
# 158
# 183
# 193
# 210
# 526
# 543
# 554
# 571
# 663
# 695
# 705
# 711
# 719
# 747
# 762
extern int _gl_cxxalias_dummy ;
# 773
# 815
# 833
# 871
# 889
extern int _gl_cxxalias_dummy ;
# 895
extern int _gl_cxxalias_dummy ;
# 914
# 916
# 929
extern int _gl_cxxalias_dummy ;
# 934
extern int _gl_cxxalias_dummy ;
# 937
# 939
# 952
extern int _gl_cxxalias_dummy ;
# 957
extern int _gl_cxxalias_dummy ;
# 960
# 962
# 974
extern int _gl_cxxalias_dummy ;
# 978
extern int _gl_cxxalias_dummy ;
# 981
# 983
# 1000
extern int _gl_cxxalias_dummy ;
# 1012
# 1047
# 1089
# 1105
# 1148
# 1178
# 1197
# 1199
# 1224
extern int _gl_cxxalias_dummy ;
# 1236
# 1280
# 1311
# 1336
# 1338
# 1348
extern int _gl_cxxalias_dummy ;
# 1350
extern int _gl_cxxalias_dummy ;
# 1352
# 1381
# 1408
# 1433
# 1462
# 1482
# 1494
extern int _gl_cxxalias_dummy ;
# 1496
extern int _gl_cxxalias_dummy ;
# 1498
# 1542
# 1551
# 1577
# 1602
# 1635
# 1662
# 1688
# 1717
# 1752
# 1783
# 1820
# 1850
# 1867
extern int _gl_cxxalias_dummy ;
# 1870
extern int _gl_cxxalias_dummy ;
# 1878
# 1894
# 1910
# 1943
# 1975
# 2005
# 2048
# 2089
# 2131
# 2172
# 2188
# 2214
# 2231
# 37 "./stdlib.h"
# 1 "./string.h"
# 18
# 22
# 34
# 33 "time_rz.c"
# 1 "flexmember.h"
# 22
# 1 "/usr/include/stddef.h"
# 22
# 30
# 24 "flexmember.h"
# 29
# 35
# 57
# 1 "idx.h"
# 18
# 21
# 1 "/usr/include/stddef.h"
# 22
# 30
# 24 "idx.h"
# 1 "./stdint.h"
# 18
# 23
# 27 "idx.h"
# 113
# 121
# 125
typedef ptrdiff_t idx_t;
# 129
# 133
# 1 "time-internal.h"
# 17
struct tm_zone
{
# 25
struct tm_zone *next;
# 28
# 30
char *tzname_copy[2];
# 32
# 36
char tz_is_set;
# 48
char abbrs[];
};
# 37 "time_rz.c"
# 40
enum { DEFAULT_MXFAST = 64 * sizeof (size_t) / 4 };
# 45
enum { ABBR_SIZE_MIN = DEFAULT_MXFAST - ( ( size_t ) ( & ( ( ( struct tm_zone
* ) ( ( void * ) 0 ) ) -> abbrs ) ) ) };
# 50
static timezone_t const local_tz = (timezone_t) 1;
# 55
static void
extend_abbrs (char *abbrs, char const *abbr, size_t abbr_size)
{
memcpy (abbrs, abbr, abbr_size);
abbrs[abbr_size] = '\0';
}
# 64
timezone_t
tzalloc (char const *name)
{
size_t name_size = name ? strlen (name) + 1 : 0;
size_t abbr_size = name_size < ABBR_SIZE_MIN ? ABBR_SIZE_MIN : name_size + 1;
timezone_t tz = malloc ( ( ( ( ( size_t ) ( & ( ( ( struct tm_zone * ) ( (
void * ) 0 ) ) -> abbrs ) ) ) + _Alignof ( struct tm_zone ) - 1 + ( abbr_size )
) & ~ ( _Alignof ( struct tm_zone ) - 1 ) ));
if (tz)
{
tz->next = ( ( void * ) 0 );
# 74
tz->tzname_copy[0] = tz->tzname_copy[1] = ( ( void * ) 0 );
# 76
tz->tz_is_set = !!name;
tz->abbrs[0] = '\0';
if (name)
extend_abbrs (tz->abbrs, name, name_size);
}
return tz;
}
# 88
static _Bool
save_abbr (timezone_t tz, struct tm *tm)
{
# 92
char const *zone = ( ( void * ) 0 );
char *zone_copy = (char *) "";
# 96
int tzname_index = -1;
# 98
# 102
# 104
if (! (zone && *zone) && 0 <= tm->tm_isdst)
{
tzname_index = tm->tm_isdst != 0;
zone = tzname[tzname_index];
}
# 110
if (!zone || ((char *) tm <= zone && zone < (char *) (tm + 1)))
return 1 ;
if (*zone)
{
zone_copy = tz->abbrs;
while (strcmp (zone_copy, zone) != 0)
{
if (! (*zone_copy || (zone_copy == tz->abbrs && tz->tz_is_set)))
{
idx_t zone_size = strlen (zone) + 1;
if (zone_size < tz->abbrs + ABBR_SIZE_MIN - zone_copy)
extend_abbrs (zone_copy, zone, zone_size);
else
{
tz = tz->next = tzalloc (zone);
if (!tz)
return 0 ;
tz->tz_is_set = 0;
zone_copy = tz->abbrs;
}
break;
}
zone_copy += strlen (zone_copy) + 1;
if (!*zone_copy && tz->next)
{
tz = tz->next;
zone_copy = tz->abbrs;
}
}
}
# 150
if (0 <= tzname_index)
tz->tzname_copy[tzname_index] = zone_copy;
# 154
return 1 ;
}
void
tzfree (timezone_t tz)
{
if (tz != local_tz)
while (tz)
{
timezone_t next = tz->next;
free (tz);
tz = next;
}
}
# 173
# 181
# 189
# 192
static _Bool
change_env (timezone_t tz)
{
if ( emacs_setenv_TZ ( tz -> tz_is_set ? tz -> abbrs : ( ( void * ) 0 ) ) !=
0)
return 0 ;
tzset ();
return 1 ;
}
# 205
static timezone_t
set_tz (timezone_t tz)
{
char *env_tz = emacs_getenv_TZ ( );
if (env_tz
? tz->tz_is_set && strcmp (tz->abbrs, env_tz) == 0
: !tz->tz_is_set)
return local_tz;
else
{
timezone_t old_tz = tzalloc (env_tz);
if (!old_tz)
return old_tz;
if (! change_env (tz))
{
int saved_errno = ( * ( ___errno ( ) ) );
tzfree (old_tz);
( * ( ___errno ( ) ) ) = saved_errno;
return ( ( void * ) 0 );
}
return old_tz;
}
}
# 232
static _Bool
revert_tz (timezone_t tz)
{
if (tz == local_tz)
return 1 ;
else
{
int saved_errno = ( * ( ___errno ( ) ) );
_Bool ok = change_env (tz);
if (!ok)
saved_errno = ( * ( ___errno ( ) ) );
tzfree (tz);
( * ( ___errno ( ) ) ) = saved_errno;
return ok;
}
}
struct tm *
localtime_rz (timezone_t tz, time_t const *t, struct tm *tm)
{
# 267
if (!tz)
return gmtime_r (t, tm);
else
{
timezone_t old_tz = set_tz (tz);
if (old_tz)
{
_Bool abbr_saved = localtime_r (t, tm) && save_abbr (tz, tm);
if (revert_tz (old_tz) && abbr_saved)
return tm;
}
return ( ( void * ) 0 );
}
}
time_t
mktime_z (timezone_t tz, struct tm *tm)
{
if (!tz)
return rpl_timegm ( tm );
else
{
timezone_t old_tz = set_tz (tz);
if (old_tz)
{
struct tm tm_1;
tm_1.tm_sec = tm->tm_sec;
tm_1.tm_min = tm->tm_min;
tm_1.tm_hour = tm->tm_hour;
tm_1.tm_mday = tm->tm_mday;
tm_1.tm_mon = tm->tm_mon;
tm_1.tm_year = tm->tm_year;
tm_1.tm_yday = -1;
tm_1.tm_isdst = tm->tm_isdst;
time_t t = rpl_mktime ( & tm_1 );
_Bool ok = 0 <= tm_1.tm_yday;
# 306
ok = ok && save_abbr (tz, &tm_1);
# 308
if (revert_tz (old_tz) && ok)
{
*tm = tm_1;
return t;
}
}
return -1;
}
}
#ident "acomp: Studio 12.5 Sun C 5.14 SunOS_i386 2016/05/31"
Thanks.