Advertisement
Guest User

qapi-visit-core.txt

a guest
Aug 9th, 2011
400
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 203.24 KB | None | 0 0
  1. # 1 "qapi/qapi-visit-core.c"
  2. # 1 "/home/warnke/source/qemu-0.15.0//"
  3. # 1 "<built-in>"
  4. # 1 "<command-line>"
  5. # 1 "qapi/qapi-visit-core.c"
  6. # 14 "qapi/qapi-visit-core.c"
  7. # 1 "./qapi/qapi-visit-core.h" 1
  8. # 16 "./qapi/qapi-visit-core.h"
  9. # 1 "./qapi/qapi-types-core.h" 1
  10. # 17 "./qapi/qapi-types-core.h"
  11. # 1 "./qemu-common.h" 1
  12.  
  13.  
  14.  
  15.  
  16. # 1 "./compiler.h" 1
  17.  
  18.  
  19.  
  20.  
  21.  
  22. # 1 "./config-host.h" 1
  23. # 7 "./compiler.h" 2
  24. # 6 "./qemu-common.h" 2
  25. # 1 "./config-host.h" 1
  26. # 7 "./qemu-common.h" 2
  27.  
  28.  
  29.  
  30. typedef struct QEMUTimer QEMUTimer;
  31. typedef struct QEMUFile QEMUFile;
  32. typedef struct QEMUBH QEMUBH;
  33. typedef struct DeviceState DeviceState;
  34.  
  35. struct Monitor;
  36. typedef struct Monitor Monitor;
  37.  
  38.  
  39. # 1 "/usr/include/stdlib.h" 1 3 4
  40. # 25 "/usr/include/stdlib.h" 3 4
  41. # 1 "/usr/include/features.h" 1 3 4
  42. # 322 "/usr/include/features.h" 3 4
  43. # 1 "/usr/include/bits/predefs.h" 1 3 4
  44. # 323 "/usr/include/features.h" 2 3 4
  45. # 355 "/usr/include/features.h" 3 4
  46. # 1 "/usr/include/sys/cdefs.h" 1 3 4
  47. # 353 "/usr/include/sys/cdefs.h" 3 4
  48. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  49. # 354 "/usr/include/sys/cdefs.h" 2 3 4
  50. # 356 "/usr/include/features.h" 2 3 4
  51. # 387 "/usr/include/features.h" 3 4
  52. # 1 "/usr/include/gnu/stubs.h" 1 3 4
  53.  
  54.  
  55.  
  56. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  57. # 5 "/usr/include/gnu/stubs.h" 2 3 4
  58.  
  59.  
  60.  
  61.  
  62. # 1 "/usr/include/gnu/stubs-64.h" 1 3 4
  63. # 10 "/usr/include/gnu/stubs.h" 2 3 4
  64. # 388 "/usr/include/features.h" 2 3 4
  65. # 26 "/usr/include/stdlib.h" 2 3 4
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 1 3 4
  74. # 211 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 3 4
  75. typedef long unsigned int size_t;
  76. # 323 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 3 4
  77. typedef int wchar_t;
  78. # 34 "/usr/include/stdlib.h" 2 3 4
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87. # 1 "/usr/include/bits/waitflags.h" 1 3 4
  88. # 43 "/usr/include/stdlib.h" 2 3 4
  89. # 1 "/usr/include/bits/waitstatus.h" 1 3 4
  90. # 65 "/usr/include/bits/waitstatus.h" 3 4
  91. # 1 "/usr/include/endian.h" 1 3 4
  92. # 37 "/usr/include/endian.h" 3 4
  93. # 1 "/usr/include/bits/endian.h" 1 3 4
  94. # 38 "/usr/include/endian.h" 2 3 4
  95. # 61 "/usr/include/endian.h" 3 4
  96. # 1 "/usr/include/bits/byteswap.h" 1 3 4
  97. # 28 "/usr/include/bits/byteswap.h" 3 4
  98. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  99. # 29 "/usr/include/bits/byteswap.h" 2 3 4
  100. # 62 "/usr/include/endian.h" 2 3 4
  101. # 66 "/usr/include/bits/waitstatus.h" 2 3 4
  102.  
  103. union wait
  104. {
  105. int w_status;
  106. struct
  107. {
  108.  
  109. unsigned int __w_termsig:7;
  110. unsigned int __w_coredump:1;
  111. unsigned int __w_retcode:8;
  112. unsigned int:16;
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120. } __wait_terminated;
  121. struct
  122. {
  123.  
  124. unsigned int __w_stopval:8;
  125. unsigned int __w_stopsig:8;
  126. unsigned int:16;
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133. } __wait_stopped;
  134. };
  135. # 44 "/usr/include/stdlib.h" 2 3 4
  136. # 68 "/usr/include/stdlib.h" 3 4
  137. typedef union
  138. {
  139. union wait *__uptr;
  140. int *__iptr;
  141. } __WAIT_STATUS __attribute__ ((__transparent_union__));
  142. # 96 "/usr/include/stdlib.h" 3 4
  143.  
  144.  
  145. typedef struct
  146. {
  147. int quot;
  148. int rem;
  149. } div_t;
  150.  
  151.  
  152.  
  153. typedef struct
  154. {
  155. long int quot;
  156. long int rem;
  157. } ldiv_t;
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165. __extension__ typedef struct
  166. {
  167. long long int quot;
  168. long long int rem;
  169. } lldiv_t;
  170.  
  171.  
  172. # 140 "/usr/include/stdlib.h" 3 4
  173. extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  174.  
  175.  
  176.  
  177.  
  178. extern double atof (__const char *__nptr)
  179. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  180.  
  181. extern int atoi (__const char *__nptr)
  182. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  183.  
  184. extern long int atol (__const char *__nptr)
  185. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  186.  
  187.  
  188.  
  189.  
  190.  
  191. __extension__ extern long long int atoll (__const char *__nptr)
  192. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  193.  
  194.  
  195.  
  196.  
  197.  
  198. extern double strtod (__const char *__restrict __nptr,
  199. char **__restrict __endptr)
  200. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  201.  
  202.  
  203.  
  204.  
  205.  
  206. extern float strtof (__const char *__restrict __nptr,
  207. char **__restrict __endptr) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  208.  
  209. extern long double strtold (__const char *__restrict __nptr,
  210. char **__restrict __endptr)
  211. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  212.  
  213.  
  214.  
  215.  
  216.  
  217. extern long int strtol (__const char *__restrict __nptr,
  218. char **__restrict __endptr, int __base)
  219. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  220.  
  221. extern unsigned long int strtoul (__const char *__restrict __nptr,
  222. char **__restrict __endptr, int __base)
  223. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  224.  
  225.  
  226.  
  227.  
  228. __extension__
  229. extern long long int strtoq (__const char *__restrict __nptr,
  230. char **__restrict __endptr, int __base)
  231. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  232.  
  233. __extension__
  234. extern unsigned long long int strtouq (__const char *__restrict __nptr,
  235. char **__restrict __endptr, int __base)
  236. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  237.  
  238.  
  239.  
  240.  
  241.  
  242. __extension__
  243. extern long long int strtoll (__const char *__restrict __nptr,
  244. char **__restrict __endptr, int __base)
  245. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  246.  
  247. __extension__
  248. extern unsigned long long int strtoull (__const char *__restrict __nptr,
  249. char **__restrict __endptr, int __base)
  250. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  251.  
  252. # 236 "/usr/include/stdlib.h" 3 4
  253. # 1 "/usr/include/xlocale.h" 1 3 4
  254. # 28 "/usr/include/xlocale.h" 3 4
  255. typedef struct __locale_struct
  256. {
  257.  
  258. struct __locale_data *__locales[13];
  259.  
  260.  
  261. const unsigned short int *__ctype_b;
  262. const int *__ctype_tolower;
  263. const int *__ctype_toupper;
  264.  
  265.  
  266. const char *__names[13];
  267. } *__locale_t;
  268.  
  269.  
  270. typedef __locale_t locale_t;
  271. # 237 "/usr/include/stdlib.h" 2 3 4
  272.  
  273.  
  274.  
  275. extern long int strtol_l (__const char *__restrict __nptr,
  276. char **__restrict __endptr, int __base,
  277. __locale_t __loc) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
  278.  
  279. extern unsigned long int strtoul_l (__const char *__restrict __nptr,
  280. char **__restrict __endptr,
  281. int __base, __locale_t __loc)
  282. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
  283.  
  284. __extension__
  285. extern long long int strtoll_l (__const char *__restrict __nptr,
  286. char **__restrict __endptr, int __base,
  287. __locale_t __loc)
  288. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
  289.  
  290. __extension__
  291. extern unsigned long long int strtoull_l (__const char *__restrict __nptr,
  292. char **__restrict __endptr,
  293. int __base, __locale_t __loc)
  294. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 4))) __attribute__ ((__warn_unused_result__));
  295.  
  296. extern double strtod_l (__const char *__restrict __nptr,
  297. char **__restrict __endptr, __locale_t __loc)
  298. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
  299.  
  300. extern float strtof_l (__const char *__restrict __nptr,
  301. char **__restrict __endptr, __locale_t __loc)
  302. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
  303.  
  304. extern long double strtold_l (__const char *__restrict __nptr,
  305. char **__restrict __endptr,
  306. __locale_t __loc)
  307. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
  308.  
  309.  
  310.  
  311.  
  312.  
  313. extern __inline double
  314. __attribute__ ((__nothrow__)) atof (__const char *__nptr)
  315. {
  316. return strtod (__nptr, (char **) ((void *)0));
  317. }
  318. extern __inline int
  319. __attribute__ ((__nothrow__)) atoi (__const char *__nptr)
  320. {
  321. return (int) strtol (__nptr, (char **) ((void *)0), 10);
  322. }
  323. extern __inline long int
  324. __attribute__ ((__nothrow__)) atol (__const char *__nptr)
  325. {
  326. return strtol (__nptr, (char **) ((void *)0), 10);
  327. }
  328.  
  329.  
  330.  
  331.  
  332. __extension__ extern __inline long long int
  333. __attribute__ ((__nothrow__)) atoll (__const char *__nptr)
  334. {
  335. return strtoll (__nptr, (char **) ((void *)0), 10);
  336. }
  337.  
  338. # 311 "/usr/include/stdlib.h" 3 4
  339. extern char *l64a (long int __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  340.  
  341.  
  342. extern long int a64l (__const char *__s)
  343. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  344.  
  345.  
  346.  
  347.  
  348. # 1 "/usr/include/sys/types.h" 1 3 4
  349. # 28 "/usr/include/sys/types.h" 3 4
  350.  
  351.  
  352. # 1 "/usr/include/bits/types.h" 1 3 4
  353. # 28 "/usr/include/bits/types.h" 3 4
  354. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  355. # 29 "/usr/include/bits/types.h" 2 3 4
  356.  
  357.  
  358. typedef unsigned char __u_char;
  359. typedef unsigned short int __u_short;
  360. typedef unsigned int __u_int;
  361. typedef unsigned long int __u_long;
  362.  
  363.  
  364. typedef signed char __int8_t;
  365. typedef unsigned char __uint8_t;
  366. typedef signed short int __int16_t;
  367. typedef unsigned short int __uint16_t;
  368. typedef signed int __int32_t;
  369. typedef unsigned int __uint32_t;
  370.  
  371. typedef signed long int __int64_t;
  372. typedef unsigned long int __uint64_t;
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380. typedef long int __quad_t;
  381. typedef unsigned long int __u_quad_t;
  382. # 131 "/usr/include/bits/types.h" 3 4
  383. # 1 "/usr/include/bits/typesizes.h" 1 3 4
  384. # 132 "/usr/include/bits/types.h" 2 3 4
  385.  
  386.  
  387. typedef unsigned long int __dev_t;
  388. typedef unsigned int __uid_t;
  389. typedef unsigned int __gid_t;
  390. typedef unsigned long int __ino_t;
  391. typedef unsigned long int __ino64_t;
  392. typedef unsigned int __mode_t;
  393. typedef unsigned long int __nlink_t;
  394. typedef long int __off_t;
  395. typedef long int __off64_t;
  396. typedef int __pid_t;
  397. typedef struct { int __val[2]; } __fsid_t;
  398. typedef long int __clock_t;
  399. typedef unsigned long int __rlim_t;
  400. typedef unsigned long int __rlim64_t;
  401. typedef unsigned int __id_t;
  402. typedef long int __time_t;
  403. typedef unsigned int __useconds_t;
  404. typedef long int __suseconds_t;
  405.  
  406. typedef int __daddr_t;
  407. typedef long int __swblk_t;
  408. typedef int __key_t;
  409.  
  410.  
  411. typedef int __clockid_t;
  412.  
  413.  
  414. typedef void * __timer_t;
  415.  
  416.  
  417. typedef long int __blksize_t;
  418.  
  419.  
  420.  
  421.  
  422. typedef long int __blkcnt_t;
  423. typedef long int __blkcnt64_t;
  424.  
  425.  
  426. typedef unsigned long int __fsblkcnt_t;
  427. typedef unsigned long int __fsblkcnt64_t;
  428.  
  429.  
  430. typedef unsigned long int __fsfilcnt_t;
  431. typedef unsigned long int __fsfilcnt64_t;
  432.  
  433. typedef long int __ssize_t;
  434.  
  435.  
  436.  
  437. typedef __off64_t __loff_t;
  438. typedef __quad_t *__qaddr_t;
  439. typedef char *__caddr_t;
  440.  
  441.  
  442. typedef long int __intptr_t;
  443.  
  444.  
  445. typedef unsigned int __socklen_t;
  446. # 31 "/usr/include/sys/types.h" 2 3 4
  447.  
  448.  
  449.  
  450. typedef __u_char u_char;
  451. typedef __u_short u_short;
  452. typedef __u_int u_int;
  453. typedef __u_long u_long;
  454. typedef __quad_t quad_t;
  455. typedef __u_quad_t u_quad_t;
  456. typedef __fsid_t fsid_t;
  457.  
  458.  
  459.  
  460.  
  461. typedef __loff_t loff_t;
  462.  
  463.  
  464.  
  465.  
  466.  
  467. typedef __ino64_t ino_t;
  468.  
  469.  
  470.  
  471.  
  472. typedef __ino64_t ino64_t;
  473.  
  474.  
  475.  
  476.  
  477. typedef __dev_t dev_t;
  478.  
  479.  
  480.  
  481.  
  482. typedef __gid_t gid_t;
  483.  
  484.  
  485.  
  486.  
  487. typedef __mode_t mode_t;
  488.  
  489.  
  490.  
  491.  
  492. typedef __nlink_t nlink_t;
  493.  
  494.  
  495.  
  496.  
  497. typedef __uid_t uid_t;
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505. typedef __off64_t off_t;
  506.  
  507.  
  508.  
  509.  
  510. typedef __off64_t off64_t;
  511.  
  512.  
  513.  
  514.  
  515. typedef __pid_t pid_t;
  516.  
  517.  
  518.  
  519.  
  520.  
  521. typedef __id_t id_t;
  522.  
  523.  
  524.  
  525.  
  526. typedef __ssize_t ssize_t;
  527.  
  528.  
  529.  
  530.  
  531.  
  532. typedef __daddr_t daddr_t;
  533. typedef __caddr_t caddr_t;
  534.  
  535.  
  536.  
  537.  
  538.  
  539. typedef __key_t key_t;
  540. # 133 "/usr/include/sys/types.h" 3 4
  541. # 1 "/usr/include/time.h" 1 3 4
  542. # 58 "/usr/include/time.h" 3 4
  543.  
  544.  
  545. typedef __clock_t clock_t;
  546.  
  547.  
  548.  
  549. # 74 "/usr/include/time.h" 3 4
  550.  
  551.  
  552. typedef __time_t time_t;
  553.  
  554.  
  555.  
  556. # 92 "/usr/include/time.h" 3 4
  557. typedef __clockid_t clockid_t;
  558. # 104 "/usr/include/time.h" 3 4
  559. typedef __timer_t timer_t;
  560. # 134 "/usr/include/sys/types.h" 2 3 4
  561.  
  562.  
  563.  
  564. typedef __useconds_t useconds_t;
  565.  
  566.  
  567.  
  568. typedef __suseconds_t suseconds_t;
  569.  
  570.  
  571.  
  572.  
  573.  
  574. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 1 3 4
  575. # 148 "/usr/include/sys/types.h" 2 3 4
  576.  
  577.  
  578.  
  579. typedef unsigned long int ulong;
  580. typedef unsigned short int ushort;
  581. typedef unsigned int uint;
  582. # 195 "/usr/include/sys/types.h" 3 4
  583. typedef int int8_t __attribute__ ((__mode__ (__QI__)));
  584. typedef int int16_t __attribute__ ((__mode__ (__HI__)));
  585. typedef int int32_t __attribute__ ((__mode__ (__SI__)));
  586. typedef int int64_t __attribute__ ((__mode__ (__DI__)));
  587.  
  588.  
  589. typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
  590. typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
  591. typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
  592. typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
  593.  
  594. typedef int register_t __attribute__ ((__mode__ (__word__)));
  595. # 220 "/usr/include/sys/types.h" 3 4
  596. # 1 "/usr/include/sys/select.h" 1 3 4
  597. # 31 "/usr/include/sys/select.h" 3 4
  598. # 1 "/usr/include/bits/select.h" 1 3 4
  599. # 23 "/usr/include/bits/select.h" 3 4
  600. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  601. # 24 "/usr/include/bits/select.h" 2 3 4
  602. # 32 "/usr/include/sys/select.h" 2 3 4
  603.  
  604.  
  605. # 1 "/usr/include/bits/sigset.h" 1 3 4
  606. # 24 "/usr/include/bits/sigset.h" 3 4
  607. typedef int __sig_atomic_t;
  608.  
  609.  
  610.  
  611.  
  612. typedef struct
  613. {
  614. unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
  615. } __sigset_t;
  616. # 35 "/usr/include/sys/select.h" 2 3 4
  617.  
  618.  
  619.  
  620. typedef __sigset_t sigset_t;
  621.  
  622.  
  623.  
  624.  
  625.  
  626. # 1 "/usr/include/time.h" 1 3 4
  627. # 120 "/usr/include/time.h" 3 4
  628. struct timespec
  629. {
  630. __time_t tv_sec;
  631. long int tv_nsec;
  632. };
  633. # 45 "/usr/include/sys/select.h" 2 3 4
  634.  
  635. # 1 "/usr/include/bits/time.h" 1 3 4
  636. # 75 "/usr/include/bits/time.h" 3 4
  637. struct timeval
  638. {
  639. __time_t tv_sec;
  640. __suseconds_t tv_usec;
  641. };
  642. # 47 "/usr/include/sys/select.h" 2 3 4
  643. # 55 "/usr/include/sys/select.h" 3 4
  644. typedef long int __fd_mask;
  645. # 67 "/usr/include/sys/select.h" 3 4
  646. typedef struct
  647. {
  648.  
  649.  
  650.  
  651. __fd_mask fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
  652.  
  653.  
  654.  
  655.  
  656.  
  657. } fd_set;
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664. typedef __fd_mask fd_mask;
  665. # 99 "/usr/include/sys/select.h" 3 4
  666.  
  667. # 109 "/usr/include/sys/select.h" 3 4
  668. extern int select (int __nfds, fd_set *__restrict __readfds,
  669. fd_set *__restrict __writefds,
  670. fd_set *__restrict __exceptfds,
  671. struct timeval *__restrict __timeout);
  672. # 121 "/usr/include/sys/select.h" 3 4
  673. extern int pselect (int __nfds, fd_set *__restrict __readfds,
  674. fd_set *__restrict __writefds,
  675. fd_set *__restrict __exceptfds,
  676. const struct timespec *__restrict __timeout,
  677. const __sigset_t *__restrict __sigmask);
  678.  
  679.  
  680.  
  681. # 221 "/usr/include/sys/types.h" 2 3 4
  682.  
  683.  
  684. # 1 "/usr/include/sys/sysmacros.h" 1 3 4
  685. # 30 "/usr/include/sys/sysmacros.h" 3 4
  686. __extension__
  687. extern unsigned int gnu_dev_major (unsigned long long int __dev)
  688. __attribute__ ((__nothrow__));
  689. __extension__
  690. extern unsigned int gnu_dev_minor (unsigned long long int __dev)
  691. __attribute__ ((__nothrow__));
  692. __extension__
  693. extern unsigned long long int gnu_dev_makedev (unsigned int __major,
  694. unsigned int __minor)
  695. __attribute__ ((__nothrow__));
  696.  
  697.  
  698. __extension__ extern __inline unsigned int
  699. __attribute__ ((__nothrow__)) gnu_dev_major (unsigned long long int __dev)
  700. {
  701. return ((__dev >> 8) & 0xfff) | ((unsigned int) (__dev >> 32) & ~0xfff);
  702. }
  703.  
  704. __extension__ extern __inline unsigned int
  705. __attribute__ ((__nothrow__)) gnu_dev_minor (unsigned long long int __dev)
  706. {
  707. return (__dev & 0xff) | ((unsigned int) (__dev >> 12) & ~0xff);
  708. }
  709.  
  710. __extension__ extern __inline unsigned long long int
  711. __attribute__ ((__nothrow__)) gnu_dev_makedev (unsigned int __major, unsigned int __minor)
  712. {
  713. return ((__minor & 0xff) | ((__major & 0xfff) << 8)
  714. | (((unsigned long long int) (__minor & ~0xff)) << 12)
  715. | (((unsigned long long int) (__major & ~0xfff)) << 32));
  716. }
  717. # 224 "/usr/include/sys/types.h" 2 3 4
  718.  
  719.  
  720.  
  721.  
  722.  
  723. typedef __blksize_t blksize_t;
  724. # 249 "/usr/include/sys/types.h" 3 4
  725. typedef __blkcnt64_t blkcnt_t;
  726.  
  727.  
  728.  
  729. typedef __fsblkcnt64_t fsblkcnt_t;
  730.  
  731.  
  732.  
  733. typedef __fsfilcnt64_t fsfilcnt_t;
  734.  
  735.  
  736.  
  737.  
  738.  
  739. typedef __blkcnt64_t blkcnt64_t;
  740. typedef __fsblkcnt64_t fsblkcnt64_t;
  741. typedef __fsfilcnt64_t fsfilcnt64_t;
  742.  
  743.  
  744.  
  745.  
  746.  
  747. # 1 "/usr/include/bits/pthreadtypes.h" 1 3 4
  748. # 23 "/usr/include/bits/pthreadtypes.h" 3 4
  749. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  750. # 24 "/usr/include/bits/pthreadtypes.h" 2 3 4
  751. # 50 "/usr/include/bits/pthreadtypes.h" 3 4
  752. typedef unsigned long int pthread_t;
  753.  
  754.  
  755. typedef union
  756. {
  757. char __size[56];
  758. long int __align;
  759. } pthread_attr_t;
  760.  
  761.  
  762.  
  763. typedef struct __pthread_internal_list
  764. {
  765. struct __pthread_internal_list *__prev;
  766. struct __pthread_internal_list *__next;
  767. } __pthread_list_t;
  768. # 76 "/usr/include/bits/pthreadtypes.h" 3 4
  769. typedef union
  770. {
  771. struct __pthread_mutex_s
  772. {
  773. int __lock;
  774. unsigned int __count;
  775. int __owner;
  776.  
  777. unsigned int __nusers;
  778.  
  779.  
  780.  
  781. int __kind;
  782.  
  783. int __spins;
  784. __pthread_list_t __list;
  785. # 101 "/usr/include/bits/pthreadtypes.h" 3 4
  786. } __data;
  787. char __size[40];
  788. long int __align;
  789. } pthread_mutex_t;
  790.  
  791. typedef union
  792. {
  793. char __size[4];
  794. int __align;
  795. } pthread_mutexattr_t;
  796.  
  797.  
  798.  
  799.  
  800. typedef union
  801. {
  802. struct
  803. {
  804. int __lock;
  805. unsigned int __futex;
  806. __extension__ unsigned long long int __total_seq;
  807. __extension__ unsigned long long int __wakeup_seq;
  808. __extension__ unsigned long long int __woken_seq;
  809. void *__mutex;
  810. unsigned int __nwaiters;
  811. unsigned int __broadcast_seq;
  812. } __data;
  813. char __size[48];
  814. __extension__ long long int __align;
  815. } pthread_cond_t;
  816.  
  817. typedef union
  818. {
  819. char __size[4];
  820. int __align;
  821. } pthread_condattr_t;
  822.  
  823.  
  824.  
  825. typedef unsigned int pthread_key_t;
  826.  
  827.  
  828.  
  829. typedef int pthread_once_t;
  830.  
  831.  
  832.  
  833.  
  834.  
  835. typedef union
  836. {
  837.  
  838. struct
  839. {
  840. int __lock;
  841. unsigned int __nr_readers;
  842. unsigned int __readers_wakeup;
  843. unsigned int __writer_wakeup;
  844. unsigned int __nr_readers_queued;
  845. unsigned int __nr_writers_queued;
  846. int __writer;
  847. int __shared;
  848. unsigned long int __pad1;
  849. unsigned long int __pad2;
  850.  
  851.  
  852. unsigned int __flags;
  853. } __data;
  854. # 187 "/usr/include/bits/pthreadtypes.h" 3 4
  855. char __size[56];
  856. long int __align;
  857. } pthread_rwlock_t;
  858.  
  859. typedef union
  860. {
  861. char __size[8];
  862. long int __align;
  863. } pthread_rwlockattr_t;
  864.  
  865.  
  866.  
  867.  
  868.  
  869. typedef volatile int pthread_spinlock_t;
  870.  
  871.  
  872.  
  873.  
  874. typedef union
  875. {
  876. char __size[32];
  877. long int __align;
  878. } pthread_barrier_t;
  879.  
  880. typedef union
  881. {
  882. char __size[4];
  883. int __align;
  884. } pthread_barrierattr_t;
  885. # 272 "/usr/include/sys/types.h" 2 3 4
  886.  
  887.  
  888.  
  889. # 321 "/usr/include/stdlib.h" 2 3 4
  890.  
  891.  
  892.  
  893.  
  894.  
  895.  
  896. extern long int random (void) __attribute__ ((__nothrow__));
  897.  
  898.  
  899. extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__));
  900.  
  901.  
  902.  
  903.  
  904.  
  905. extern char *initstate (unsigned int __seed, char *__statebuf,
  906. size_t __statelen) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  907.  
  908.  
  909.  
  910. extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918. struct random_data
  919. {
  920. int32_t *fptr;
  921. int32_t *rptr;
  922. int32_t *state;
  923. int rand_type;
  924. int rand_deg;
  925. int rand_sep;
  926. int32_t *end_ptr;
  927. };
  928.  
  929. extern int random_r (struct random_data *__restrict __buf,
  930. int32_t *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  931.  
  932. extern int srandom_r (unsigned int __seed, struct random_data *__buf)
  933. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  934.  
  935. extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
  936. size_t __statelen,
  937. struct random_data *__restrict __buf)
  938. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
  939.  
  940. extern int setstate_r (char *__restrict __statebuf,
  941. struct random_data *__restrict __buf)
  942. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949. extern int rand (void) __attribute__ ((__nothrow__));
  950.  
  951. extern void srand (unsigned int __seed) __attribute__ ((__nothrow__));
  952.  
  953.  
  954.  
  955.  
  956. extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__));
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964. extern double drand48 (void) __attribute__ ((__nothrow__));
  965. extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  966.  
  967.  
  968. extern long int lrand48 (void) __attribute__ ((__nothrow__));
  969. extern long int nrand48 (unsigned short int __xsubi[3])
  970. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  971.  
  972.  
  973. extern long int mrand48 (void) __attribute__ ((__nothrow__));
  974. extern long int jrand48 (unsigned short int __xsubi[3])
  975. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  976.  
  977.  
  978. extern void srand48 (long int __seedval) __attribute__ ((__nothrow__));
  979. extern unsigned short int *seed48 (unsigned short int __seed16v[3])
  980. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  981. extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  982.  
  983.  
  984.  
  985.  
  986.  
  987. struct drand48_data
  988. {
  989. unsigned short int __x[3];
  990. unsigned short int __old_x[3];
  991. unsigned short int __c;
  992. unsigned short int __init;
  993. unsigned long long int __a;
  994. };
  995.  
  996.  
  997. extern int drand48_r (struct drand48_data *__restrict __buffer,
  998. double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  999. extern int erand48_r (unsigned short int __xsubi[3],
  1000. struct drand48_data *__restrict __buffer,
  1001. double *__restrict __result) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  1002.  
  1003.  
  1004. extern int lrand48_r (struct drand48_data *__restrict __buffer,
  1005. long int *__restrict __result)
  1006. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  1007. extern int nrand48_r (unsigned short int __xsubi[3],
  1008. struct drand48_data *__restrict __buffer,
  1009. long int *__restrict __result)
  1010. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  1011.  
  1012.  
  1013. extern int mrand48_r (struct drand48_data *__restrict __buffer,
  1014. long int *__restrict __result)
  1015. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  1016. extern int jrand48_r (unsigned short int __xsubi[3],
  1017. struct drand48_data *__restrict __buffer,
  1018. long int *__restrict __result)
  1019. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  1020.  
  1021.  
  1022. extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
  1023. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  1024.  
  1025. extern int seed48_r (unsigned short int __seed16v[3],
  1026. struct drand48_data *__buffer) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  1027.  
  1028. extern int lcong48_r (unsigned short int __param[7],
  1029. struct drand48_data *__buffer)
  1030. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040. extern void *malloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
  1041.  
  1042. extern void *calloc (size_t __nmemb, size_t __size)
  1043. __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054. extern void *realloc (void *__ptr, size_t __size)
  1055. __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1056.  
  1057. extern void free (void *__ptr) __attribute__ ((__nothrow__));
  1058.  
  1059.  
  1060.  
  1061.  
  1062. extern void cfree (void *__ptr) __attribute__ ((__nothrow__));
  1063.  
  1064.  
  1065.  
  1066. # 1 "/usr/include/alloca.h" 1 3 4
  1067. # 25 "/usr/include/alloca.h" 3 4
  1068. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 1 3 4
  1069. # 26 "/usr/include/alloca.h" 2 3 4
  1070.  
  1071.  
  1072.  
  1073.  
  1074.  
  1075.  
  1076.  
  1077. extern void *alloca (size_t __size) __attribute__ ((__nothrow__));
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084. # 498 "/usr/include/stdlib.h" 2 3 4
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090. extern void *valloc (size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
  1091.  
  1092.  
  1093.  
  1094.  
  1095. extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
  1096. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1097.  
  1098.  
  1099.  
  1100.  
  1101. extern void abort (void) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
  1102.  
  1103.  
  1104.  
  1105. extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  1106. # 528 "/usr/include/stdlib.h" 3 4
  1107. extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115. extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
  1116. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123. extern void exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131. extern void quick_exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139. extern void _Exit (int __status) __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
  1140.  
  1141.  
  1142.  
  1143.  
  1144.  
  1145.  
  1146. extern char *getenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1147.  
  1148.  
  1149.  
  1150.  
  1151. extern char *__secure_getenv (__const char *__name)
  1152. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1153.  
  1154.  
  1155.  
  1156.  
  1157.  
  1158. extern int putenv (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164. extern int setenv (__const char *__name, __const char *__value, int __replace)
  1165. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  1166.  
  1167.  
  1168. extern int unsetenv (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175. extern int clearenv (void) __attribute__ ((__nothrow__));
  1176. # 606 "/usr/include/stdlib.h" 3 4
  1177. extern char *mktemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1178. # 623 "/usr/include/stdlib.h" 3 4
  1179. extern int mkstemp (char *__template) __asm__ ("" "mkstemp64")
  1180. __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186. extern int mkstemp64 (char *__template) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1187. # 645 "/usr/include/stdlib.h" 3 4
  1188. extern int mkstemps (char *__template, int __suffixlen) __asm__ ("" "mkstemps64") __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195. extern int mkstemps64 (char *__template, int __suffixlen)
  1196. __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1197. # 663 "/usr/include/stdlib.h" 3 4
  1198. extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1199. # 677 "/usr/include/stdlib.h" 3 4
  1200. extern int mkostemp (char *__template, int __flags) __asm__ ("" "mkostemp64")
  1201. __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207. extern int mkostemp64 (char *__template, int __flags) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1208. # 698 "/usr/include/stdlib.h" 3 4
  1209. extern int mkostemps (char *__template, int __suffixlen, int __flags) __asm__ ("" "mkostemps64")
  1210.  
  1211. __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1212.  
  1213.  
  1214.  
  1215.  
  1216.  
  1217. extern int mkostemps64 (char *__template, int __suffixlen, int __flags)
  1218. __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1219.  
  1220.  
  1221.  
  1222.  
  1223.  
  1224.  
  1225.  
  1226.  
  1227.  
  1228. extern int system (__const char *__command) __attribute__ ((__warn_unused_result__));
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235. extern char *canonicalize_file_name (__const char *__name)
  1236. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1237. # 734 "/usr/include/stdlib.h" 3 4
  1238. extern char *realpath (__const char *__restrict __name,
  1239. char *__restrict __resolved) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1240.  
  1241.  
  1242.  
  1243.  
  1244.  
  1245.  
  1246. typedef int (*__compar_fn_t) (__const void *, __const void *);
  1247.  
  1248.  
  1249. typedef __compar_fn_t comparison_fn_t;
  1250.  
  1251.  
  1252.  
  1253. typedef int (*__compar_d_fn_t) (__const void *, __const void *, void *);
  1254.  
  1255.  
  1256.  
  1257.  
  1258.  
  1259. extern void *bsearch (__const void *__key, __const void *__base,
  1260. size_t __nmemb, size_t __size, __compar_fn_t __compar)
  1261. __attribute__ ((__nonnull__ (1, 2, 5))) __attribute__ ((__warn_unused_result__));
  1262.  
  1263.  
  1264.  
  1265. extern void qsort (void *__base, size_t __nmemb, size_t __size,
  1266. __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
  1267.  
  1268. extern void qsort_r (void *__base, size_t __nmemb, size_t __size,
  1269. __compar_d_fn_t __compar, void *__arg)
  1270. __attribute__ ((__nonnull__ (1, 4)));
  1271.  
  1272.  
  1273.  
  1274.  
  1275. extern int abs (int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
  1276. extern long int labs (long int __x) __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
  1277.  
  1278.  
  1279.  
  1280. __extension__ extern long long int llabs (long long int __x)
  1281. __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289. extern div_t div (int __numer, int __denom)
  1290. __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
  1291. extern ldiv_t ldiv (long int __numer, long int __denom)
  1292. __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
  1293.  
  1294.  
  1295.  
  1296.  
  1297. __extension__ extern lldiv_t lldiv (long long int __numer,
  1298. long long int __denom)
  1299. __attribute__ ((__nothrow__)) __attribute__ ((__const__)) __attribute__ ((__warn_unused_result__));
  1300.  
  1301. # 808 "/usr/include/stdlib.h" 3 4
  1302. extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
  1303. int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
  1304.  
  1305.  
  1306.  
  1307.  
  1308. extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
  1309. int *__restrict __sign) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
  1310.  
  1311.  
  1312.  
  1313.  
  1314. extern char *gcvt (double __value, int __ndigit, char *__buf)
  1315. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
  1316.  
  1317.  
  1318.  
  1319.  
  1320. extern char *qecvt (long double __value, int __ndigit,
  1321. int *__restrict __decpt, int *__restrict __sign)
  1322. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
  1323. extern char *qfcvt (long double __value, int __ndigit,
  1324. int *__restrict __decpt, int *__restrict __sign)
  1325. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4))) __attribute__ ((__warn_unused_result__));
  1326. extern char *qgcvt (long double __value, int __ndigit, char *__buf)
  1327. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3))) __attribute__ ((__warn_unused_result__));
  1328.  
  1329.  
  1330.  
  1331.  
  1332. extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
  1333. int *__restrict __sign, char *__restrict __buf,
  1334. size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
  1335. extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
  1336. int *__restrict __sign, char *__restrict __buf,
  1337. size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
  1338.  
  1339. extern int qecvt_r (long double __value, int __ndigit,
  1340. int *__restrict __decpt, int *__restrict __sign,
  1341. char *__restrict __buf, size_t __len)
  1342. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
  1343. extern int qfcvt_r (long double __value, int __ndigit,
  1344. int *__restrict __decpt, int *__restrict __sign,
  1345. char *__restrict __buf, size_t __len)
  1346. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4, 5)));
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354. extern int mblen (__const char *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1355.  
  1356.  
  1357. extern int mbtowc (wchar_t *__restrict __pwc,
  1358. __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1359.  
  1360.  
  1361. extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1362.  
  1363.  
  1364.  
  1365. extern size_t mbstowcs (wchar_t *__restrict __pwcs,
  1366. __const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__));
  1367.  
  1368. extern size_t wcstombs (char *__restrict __s,
  1369. __const wchar_t *__restrict __pwcs, size_t __n)
  1370. __attribute__ ((__nothrow__));
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379. extern int rpmatch (__const char *__response) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  1380. # 896 "/usr/include/stdlib.h" 3 4
  1381. extern int getsubopt (char **__restrict __optionp,
  1382. char *__const *__restrict __tokens,
  1383. char **__restrict __valuep)
  1384. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3))) __attribute__ ((__warn_unused_result__));
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390. extern void setkey (__const char *__key) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  1391.  
  1392.  
  1393.  
  1394.  
  1395.  
  1396.  
  1397.  
  1398. extern int posix_openpt (int __oflag) __attribute__ ((__warn_unused_result__));
  1399.  
  1400.  
  1401.  
  1402.  
  1403.  
  1404.  
  1405.  
  1406. extern int grantpt (int __fd) __attribute__ ((__nothrow__));
  1407.  
  1408.  
  1409.  
  1410. extern int unlockpt (int __fd) __attribute__ ((__nothrow__));
  1411.  
  1412.  
  1413.  
  1414.  
  1415. extern char *ptsname (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422. extern int ptsname_r (int __fd, char *__buf, size_t __buflen)
  1423. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  1424.  
  1425.  
  1426. extern int getpt (void);
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433. extern int getloadavg (double __loadavg[], int __nelem)
  1434. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440. # 1 "/usr/include/bits/stdlib.h" 1 3 4
  1441. # 24 "/usr/include/bits/stdlib.h" 3 4
  1442. extern char *__realpath_chk (__const char *__restrict __name,
  1443. char *__restrict __resolved,
  1444. size_t __resolvedlen) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1445. extern char *__realpath_alias (__const char *__restrict __name, char *__restrict __resolved) __asm__ ("" "realpath") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1446.  
  1447.  
  1448. extern char *__realpath_chk_warn (__const char *__restrict __name, char *__restrict __resolved, size_t __resolvedlen) __asm__ ("" "__realpath_chk") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__))
  1449.  
  1450.  
  1451.  
  1452. __attribute__((__warning__ ("second argument of realpath must be either NULL or at " "least PATH_MAX bytes long buffer")));
  1453.  
  1454.  
  1455. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
  1456. __attribute__ ((__nothrow__)) realpath (__const char *__restrict __name, char *__restrict __resolved)
  1457. {
  1458. if (__builtin_object_size (__resolved, 2 > 1) != (size_t) -1)
  1459. {
  1460.  
  1461.  
  1462.  
  1463.  
  1464. return __realpath_chk (__name, __resolved, __builtin_object_size (__resolved, 2 > 1));
  1465. }
  1466.  
  1467. return __realpath_alias (__name, __resolved);
  1468. }
  1469.  
  1470.  
  1471. extern int __ptsname_r_chk (int __fd, char *__buf, size_t __buflen,
  1472. size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  1473. extern int __ptsname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ptsname_r") __attribute__ ((__nothrow__))
  1474.  
  1475. __attribute__ ((__nonnull__ (2)));
  1476. extern int __ptsname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ptsname_r_chk") __attribute__ ((__nothrow__))
  1477.  
  1478.  
  1479. __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ptsname_r called with buflen bigger than " "size of buf")));
  1480.  
  1481.  
  1482. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  1483. __attribute__ ((__nothrow__)) ptsname_r (int __fd, char *__buf, size_t __buflen)
  1484. {
  1485. if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
  1486. {
  1487. if (!__builtin_constant_p (__buflen))
  1488. return __ptsname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
  1489. if (__buflen > __builtin_object_size (__buf, 2 > 1))
  1490. return __ptsname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
  1491. }
  1492. return __ptsname_r_alias (__fd, __buf, __buflen);
  1493. }
  1494.  
  1495.  
  1496. extern int __wctomb_chk (char *__s, wchar_t __wchar, size_t __buflen)
  1497. __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1498. extern int __wctomb_alias (char *__s, wchar_t __wchar) __asm__ ("" "wctomb") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1499.  
  1500.  
  1501. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) int
  1502. __attribute__ ((__nothrow__)) wctomb (char *__s, wchar_t __wchar)
  1503. {
  1504.  
  1505.  
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511. if (__builtin_object_size (__s, 2 > 1) != (size_t) -1 && 16 > __builtin_object_size (__s, 2 > 1))
  1512. return __wctomb_chk (__s, __wchar, __builtin_object_size (__s, 2 > 1));
  1513. return __wctomb_alias (__s, __wchar);
  1514. }
  1515.  
  1516.  
  1517. extern size_t __mbstowcs_chk (wchar_t *__restrict __dst,
  1518. __const char *__restrict __src,
  1519. size_t __len, size_t __dstlen) __attribute__ ((__nothrow__));
  1520. extern size_t __mbstowcs_alias (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len) __asm__ ("" "mbstowcs") __attribute__ ((__nothrow__));
  1521.  
  1522.  
  1523.  
  1524. extern size_t __mbstowcs_chk_warn (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__mbstowcs_chk") __attribute__ ((__nothrow__))
  1525.  
  1526.  
  1527.  
  1528. __attribute__((__warning__ ("mbstowcs called with dst buffer smaller than len " "* sizeof (wchar_t)")));
  1529.  
  1530.  
  1531. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
  1532. __attribute__ ((__nothrow__)) mbstowcs (wchar_t *__restrict __dst, __const char *__restrict __src, size_t __len)
  1533.  
  1534. {
  1535. if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
  1536. {
  1537. if (!__builtin_constant_p (__len))
  1538. return __mbstowcs_chk (__dst, __src, __len,
  1539. __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
  1540.  
  1541. if (__len > __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t))
  1542. return __mbstowcs_chk_warn (__dst, __src, __len,
  1543. __builtin_object_size (__dst, 2 > 1) / sizeof (wchar_t));
  1544. }
  1545. return __mbstowcs_alias (__dst, __src, __len);
  1546. }
  1547.  
  1548.  
  1549. extern size_t __wcstombs_chk (char *__restrict __dst,
  1550. __const wchar_t *__restrict __src,
  1551. size_t __len, size_t __dstlen) __attribute__ ((__nothrow__));
  1552. extern size_t __wcstombs_alias (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len) __asm__ ("" "wcstombs") __attribute__ ((__nothrow__));
  1553.  
  1554.  
  1555.  
  1556. extern size_t __wcstombs_chk_warn (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len, size_t __dstlen) __asm__ ("" "__wcstombs_chk") __attribute__ ((__nothrow__))
  1557.  
  1558.  
  1559.  
  1560. __attribute__((__warning__ ("wcstombs called with dst buffer smaller than len")));
  1561.  
  1562. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
  1563. __attribute__ ((__nothrow__)) wcstombs (char *__restrict __dst, __const wchar_t *__restrict __src, size_t __len)
  1564.  
  1565. {
  1566. if (__builtin_object_size (__dst, 2 > 1) != (size_t) -1)
  1567. {
  1568. if (!__builtin_constant_p (__len))
  1569. return __wcstombs_chk (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1));
  1570. if (__len > __builtin_object_size (__dst, 2 > 1))
  1571. return __wcstombs_chk_warn (__dst, __src, __len, __builtin_object_size (__dst, 2 > 1));
  1572. }
  1573. return __wcstombs_alias (__dst, __src, __len);
  1574. }
  1575. # 956 "/usr/include/stdlib.h" 2 3 4
  1576. # 964 "/usr/include/stdlib.h" 3 4
  1577.  
  1578. # 20 "./qemu-common.h" 2
  1579. # 1 "/usr/include/stdio.h" 1 3 4
  1580. # 30 "/usr/include/stdio.h" 3 4
  1581.  
  1582.  
  1583.  
  1584.  
  1585. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 1 3 4
  1586. # 35 "/usr/include/stdio.h" 2 3 4
  1587. # 45 "/usr/include/stdio.h" 3 4
  1588. struct _IO_FILE;
  1589.  
  1590.  
  1591.  
  1592. typedef struct _IO_FILE FILE;
  1593.  
  1594.  
  1595.  
  1596.  
  1597.  
  1598. # 65 "/usr/include/stdio.h" 3 4
  1599. typedef struct _IO_FILE __FILE;
  1600. # 75 "/usr/include/stdio.h" 3 4
  1601. # 1 "/usr/include/libio.h" 1 3 4
  1602. # 32 "/usr/include/libio.h" 3 4
  1603. # 1 "/usr/include/_G_config.h" 1 3 4
  1604. # 15 "/usr/include/_G_config.h" 3 4
  1605. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 1 3 4
  1606. # 16 "/usr/include/_G_config.h" 2 3 4
  1607.  
  1608.  
  1609.  
  1610.  
  1611. # 1 "/usr/include/wchar.h" 1 3 4
  1612. # 83 "/usr/include/wchar.h" 3 4
  1613. typedef struct
  1614. {
  1615. int __count;
  1616. union
  1617. {
  1618.  
  1619. unsigned int __wch;
  1620.  
  1621.  
  1622.  
  1623. char __wchb[4];
  1624. } __value;
  1625. } __mbstate_t;
  1626. # 21 "/usr/include/_G_config.h" 2 3 4
  1627.  
  1628. typedef struct
  1629. {
  1630. __off_t __pos;
  1631. __mbstate_t __state;
  1632. } _G_fpos_t;
  1633. typedef struct
  1634. {
  1635. __off64_t __pos;
  1636. __mbstate_t __state;
  1637. } _G_fpos64_t;
  1638. # 53 "/usr/include/_G_config.h" 3 4
  1639. typedef int _G_int16_t __attribute__ ((__mode__ (__HI__)));
  1640. typedef int _G_int32_t __attribute__ ((__mode__ (__SI__)));
  1641. typedef unsigned int _G_uint16_t __attribute__ ((__mode__ (__HI__)));
  1642. typedef unsigned int _G_uint32_t __attribute__ ((__mode__ (__SI__)));
  1643. # 33 "/usr/include/libio.h" 2 3 4
  1644. # 53 "/usr/include/libio.h" 3 4
  1645. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stdarg.h" 1 3 4
  1646. # 40 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stdarg.h" 3 4
  1647. typedef __builtin_va_list __gnuc_va_list;
  1648. # 54 "/usr/include/libio.h" 2 3 4
  1649. # 170 "/usr/include/libio.h" 3 4
  1650. struct _IO_jump_t; struct _IO_FILE;
  1651. # 180 "/usr/include/libio.h" 3 4
  1652. typedef void _IO_lock_t;
  1653.  
  1654.  
  1655.  
  1656.  
  1657.  
  1658. struct _IO_marker {
  1659. struct _IO_marker *_next;
  1660. struct _IO_FILE *_sbuf;
  1661.  
  1662.  
  1663.  
  1664. int _pos;
  1665. # 203 "/usr/include/libio.h" 3 4
  1666. };
  1667.  
  1668.  
  1669. enum __codecvt_result
  1670. {
  1671. __codecvt_ok,
  1672. __codecvt_partial,
  1673. __codecvt_error,
  1674. __codecvt_noconv
  1675. };
  1676. # 271 "/usr/include/libio.h" 3 4
  1677. struct _IO_FILE {
  1678. int _flags;
  1679.  
  1680.  
  1681.  
  1682.  
  1683. char* _IO_read_ptr;
  1684. char* _IO_read_end;
  1685. char* _IO_read_base;
  1686. char* _IO_write_base;
  1687. char* _IO_write_ptr;
  1688. char* _IO_write_end;
  1689. char* _IO_buf_base;
  1690. char* _IO_buf_end;
  1691.  
  1692. char *_IO_save_base;
  1693. char *_IO_backup_base;
  1694. char *_IO_save_end;
  1695.  
  1696. struct _IO_marker *_markers;
  1697.  
  1698. struct _IO_FILE *_chain;
  1699.  
  1700. int _fileno;
  1701.  
  1702.  
  1703.  
  1704. int _flags2;
  1705.  
  1706. __off_t _old_offset;
  1707.  
  1708.  
  1709.  
  1710. unsigned short _cur_column;
  1711. signed char _vtable_offset;
  1712. char _shortbuf[1];
  1713.  
  1714.  
  1715.  
  1716. _IO_lock_t *_lock;
  1717. # 319 "/usr/include/libio.h" 3 4
  1718. __off64_t _offset;
  1719. # 328 "/usr/include/libio.h" 3 4
  1720. void *__pad1;
  1721. void *__pad2;
  1722. void *__pad3;
  1723. void *__pad4;
  1724. size_t __pad5;
  1725.  
  1726. int _mode;
  1727.  
  1728. char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
  1729.  
  1730. };
  1731.  
  1732.  
  1733. typedef struct _IO_FILE _IO_FILE;
  1734.  
  1735.  
  1736. struct _IO_FILE_plus;
  1737.  
  1738. extern struct _IO_FILE_plus _IO_2_1_stdin_;
  1739. extern struct _IO_FILE_plus _IO_2_1_stdout_;
  1740. extern struct _IO_FILE_plus _IO_2_1_stderr_;
  1741. # 364 "/usr/include/libio.h" 3 4
  1742. typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
  1743.  
  1744.  
  1745.  
  1746.  
  1747.  
  1748.  
  1749.  
  1750. typedef __ssize_t __io_write_fn (void *__cookie, __const char *__buf,
  1751. size_t __n);
  1752.  
  1753.  
  1754.  
  1755.  
  1756.  
  1757.  
  1758.  
  1759. typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
  1760.  
  1761.  
  1762. typedef int __io_close_fn (void *__cookie);
  1763.  
  1764.  
  1765.  
  1766.  
  1767. typedef __io_read_fn cookie_read_function_t;
  1768. typedef __io_write_fn cookie_write_function_t;
  1769. typedef __io_seek_fn cookie_seek_function_t;
  1770. typedef __io_close_fn cookie_close_function_t;
  1771.  
  1772.  
  1773. typedef struct
  1774. {
  1775. __io_read_fn *read;
  1776. __io_write_fn *write;
  1777. __io_seek_fn *seek;
  1778. __io_close_fn *close;
  1779. } _IO_cookie_io_functions_t;
  1780. typedef _IO_cookie_io_functions_t cookie_io_functions_t;
  1781.  
  1782. struct _IO_cookie_file;
  1783.  
  1784.  
  1785. extern void _IO_cookie_init (struct _IO_cookie_file *__cfile, int __read_write,
  1786. void *__cookie, _IO_cookie_io_functions_t __fns);
  1787.  
  1788.  
  1789.  
  1790.  
  1791.  
  1792.  
  1793.  
  1794. extern int __underflow (_IO_FILE *);
  1795. extern int __uflow (_IO_FILE *);
  1796. extern int __overflow (_IO_FILE *, int);
  1797. # 460 "/usr/include/libio.h" 3 4
  1798. extern int _IO_getc (_IO_FILE *__fp);
  1799. extern int _IO_putc (int __c, _IO_FILE *__fp);
  1800. extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__));
  1801. extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__));
  1802.  
  1803. extern int _IO_peekc_locked (_IO_FILE *__fp);
  1804.  
  1805.  
  1806.  
  1807.  
  1808.  
  1809. extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__));
  1810. extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__));
  1811. extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__));
  1812. # 490 "/usr/include/libio.h" 3 4
  1813. extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
  1814. __gnuc_va_list, int *__restrict);
  1815. extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
  1816. __gnuc_va_list);
  1817. extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
  1818. extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
  1819.  
  1820. extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
  1821. extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
  1822.  
  1823. extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__));
  1824. # 76 "/usr/include/stdio.h" 2 3 4
  1825.  
  1826.  
  1827.  
  1828.  
  1829. typedef __gnuc_va_list va_list;
  1830. # 109 "/usr/include/stdio.h" 3 4
  1831.  
  1832.  
  1833.  
  1834.  
  1835. typedef _G_fpos64_t fpos_t;
  1836.  
  1837.  
  1838.  
  1839. typedef _G_fpos64_t fpos64_t;
  1840. # 161 "/usr/include/stdio.h" 3 4
  1841. # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
  1842. # 162 "/usr/include/stdio.h" 2 3 4
  1843.  
  1844.  
  1845.  
  1846. extern struct _IO_FILE *stdin;
  1847. extern struct _IO_FILE *stdout;
  1848. extern struct _IO_FILE *stderr;
  1849.  
  1850.  
  1851.  
  1852.  
  1853.  
  1854.  
  1855.  
  1856. extern int remove (__const char *__filename) __attribute__ ((__nothrow__));
  1857.  
  1858. extern int rename (__const char *__old, __const char *__new) __attribute__ ((__nothrow__));
  1859.  
  1860.  
  1861.  
  1862.  
  1863. extern int renameat (int __oldfd, __const char *__old, int __newfd,
  1864. __const char *__new) __attribute__ ((__nothrow__));
  1865.  
  1866.  
  1867.  
  1868. # 195 "/usr/include/stdio.h" 3 4
  1869. extern FILE *tmpfile (void) __asm__ ("" "tmpfile64") __attribute__ ((__warn_unused_result__));
  1870.  
  1871.  
  1872.  
  1873.  
  1874.  
  1875.  
  1876. extern FILE *tmpfile64 (void) __attribute__ ((__warn_unused_result__));
  1877.  
  1878.  
  1879.  
  1880. extern char *tmpnam (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886. extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1887. # 224 "/usr/include/stdio.h" 3 4
  1888. extern char *tempnam (__const char *__dir, __const char *__pfx)
  1889. __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__warn_unused_result__));
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898. extern int fclose (FILE *__stream);
  1899.  
  1900.  
  1901.  
  1902.  
  1903. extern int fflush (FILE *__stream);
  1904.  
  1905. # 249 "/usr/include/stdio.h" 3 4
  1906. extern int fflush_unlocked (FILE *__stream);
  1907. # 259 "/usr/include/stdio.h" 3 4
  1908. extern int fcloseall (void);
  1909.  
  1910.  
  1911.  
  1912.  
  1913. # 280 "/usr/include/stdio.h" 3 4
  1914. extern FILE *fopen (__const char *__restrict __filename, __const char *__restrict __modes) __asm__ ("" "fopen64")
  1915.  
  1916. __attribute__ ((__warn_unused_result__));
  1917. extern FILE *freopen (__const char *__restrict __filename, __const char *__restrict __modes, FILE *__restrict __stream) __asm__ ("" "freopen64")
  1918.  
  1919.  
  1920. __attribute__ ((__warn_unused_result__));
  1921.  
  1922.  
  1923.  
  1924.  
  1925.  
  1926.  
  1927.  
  1928. extern FILE *fopen64 (__const char *__restrict __filename,
  1929. __const char *__restrict __modes) __attribute__ ((__warn_unused_result__));
  1930. extern FILE *freopen64 (__const char *__restrict __filename,
  1931. __const char *__restrict __modes,
  1932. FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
  1933.  
  1934.  
  1935.  
  1936.  
  1937. extern FILE *fdopen (int __fd, __const char *__modes) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943. extern FILE *fopencookie (void *__restrict __magic_cookie,
  1944. __const char *__restrict __modes,
  1945. _IO_cookie_io_functions_t __io_funcs) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1946.  
  1947.  
  1948.  
  1949.  
  1950. extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
  1951. __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1952.  
  1953.  
  1954.  
  1955.  
  1956. extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963. extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__));
  1964.  
  1965.  
  1966.  
  1967. extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
  1968. int __modes, size_t __n) __attribute__ ((__nothrow__));
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974. extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
  1975. size_t __size) __attribute__ ((__nothrow__));
  1976.  
  1977.  
  1978. extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__));
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984.  
  1985.  
  1986.  
  1987. extern int fprintf (FILE *__restrict __stream,
  1988. __const char *__restrict __format, ...);
  1989.  
  1990.  
  1991.  
  1992.  
  1993. extern int printf (__const char *__restrict __format, ...);
  1994.  
  1995. extern int sprintf (char *__restrict __s,
  1996. __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
  1997.  
  1998.  
  1999.  
  2000.  
  2001.  
  2002. extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
  2003. __gnuc_va_list __arg);
  2004.  
  2005.  
  2006.  
  2007.  
  2008. extern int vprintf (__const char *__restrict __format, __gnuc_va_list __arg);
  2009.  
  2010. extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
  2011. __gnuc_va_list __arg) __attribute__ ((__nothrow__));
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017. extern int snprintf (char *__restrict __s, size_t __maxlen,
  2018. __const char *__restrict __format, ...)
  2019. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
  2020.  
  2021. extern int vsnprintf (char *__restrict __s, size_t __maxlen,
  2022. __const char *__restrict __format, __gnuc_va_list __arg)
  2023. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
  2024.  
  2025.  
  2026.  
  2027.  
  2028.  
  2029.  
  2030. extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
  2031. __gnuc_va_list __arg)
  2032. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0))) __attribute__ ((__warn_unused_result__));
  2033. extern int __asprintf (char **__restrict __ptr,
  2034. __const char *__restrict __fmt, ...)
  2035. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
  2036. extern int asprintf (char **__restrict __ptr,
  2037. __const char *__restrict __fmt, ...)
  2038. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3))) __attribute__ ((__warn_unused_result__));
  2039. # 414 "/usr/include/stdio.h" 3 4
  2040. extern int vdprintf (int __fd, __const char *__restrict __fmt,
  2041. __gnuc_va_list __arg)
  2042. __attribute__ ((__format__ (__printf__, 2, 0)));
  2043. extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
  2044. __attribute__ ((__format__ (__printf__, 2, 3)));
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050.  
  2051.  
  2052.  
  2053. extern int fscanf (FILE *__restrict __stream,
  2054. __const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
  2055.  
  2056.  
  2057.  
  2058.  
  2059. extern int scanf (__const char *__restrict __format, ...) __attribute__ ((__warn_unused_result__));
  2060.  
  2061. extern int sscanf (__const char *__restrict __s,
  2062. __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
  2063. # 465 "/usr/include/stdio.h" 3 4
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072. extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
  2073. __gnuc_va_list __arg)
  2074. __attribute__ ((__format__ (__scanf__, 2, 0))) __attribute__ ((__warn_unused_result__));
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080. extern int vscanf (__const char *__restrict __format, __gnuc_va_list __arg)
  2081. __attribute__ ((__format__ (__scanf__, 1, 0))) __attribute__ ((__warn_unused_result__));
  2082.  
  2083.  
  2084. extern int vsscanf (__const char *__restrict __s,
  2085. __const char *__restrict __format, __gnuc_va_list __arg)
  2086. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
  2087. # 524 "/usr/include/stdio.h" 3 4
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097. extern int fgetc (FILE *__stream);
  2098. extern int getc (FILE *__stream);
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104. extern int getchar (void);
  2105.  
  2106. # 552 "/usr/include/stdio.h" 3 4
  2107. extern int getc_unlocked (FILE *__stream);
  2108. extern int getchar_unlocked (void);
  2109. # 563 "/usr/include/stdio.h" 3 4
  2110. extern int fgetc_unlocked (FILE *__stream);
  2111.  
  2112.  
  2113.  
  2114.  
  2115.  
  2116.  
  2117.  
  2118.  
  2119.  
  2120.  
  2121.  
  2122. extern int fputc (int __c, FILE *__stream);
  2123. extern int putc (int __c, FILE *__stream);
  2124.  
  2125.  
  2126.  
  2127.  
  2128.  
  2129. extern int putchar (int __c);
  2130.  
  2131. # 596 "/usr/include/stdio.h" 3 4
  2132. extern int fputc_unlocked (int __c, FILE *__stream);
  2133.  
  2134.  
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140. extern int putc_unlocked (int __c, FILE *__stream);
  2141. extern int putchar_unlocked (int __c);
  2142.  
  2143.  
  2144.  
  2145.  
  2146.  
  2147.  
  2148. extern int getw (FILE *__stream);
  2149.  
  2150.  
  2151. extern int putw (int __w, FILE *__stream);
  2152.  
  2153.  
  2154.  
  2155.  
  2156.  
  2157.  
  2158.  
  2159.  
  2160. extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
  2161. __attribute__ ((__warn_unused_result__));
  2162.  
  2163.  
  2164.  
  2165.  
  2166.  
  2167.  
  2168. extern char *gets (char *__s) __attribute__ ((__warn_unused_result__));
  2169.  
  2170. # 642 "/usr/include/stdio.h" 3 4
  2171. extern char *fgets_unlocked (char *__restrict __s, int __n,
  2172. FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
  2173. # 658 "/usr/include/stdio.h" 3 4
  2174. extern __ssize_t __getdelim (char **__restrict __lineptr,
  2175. size_t *__restrict __n, int __delimiter,
  2176. FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
  2177. extern __ssize_t getdelim (char **__restrict __lineptr,
  2178. size_t *__restrict __n, int __delimiter,
  2179. FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
  2180.  
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186.  
  2187. extern __ssize_t getline (char **__restrict __lineptr,
  2188. size_t *__restrict __n,
  2189. FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
  2190.  
  2191.  
  2192.  
  2193.  
  2194.  
  2195.  
  2196.  
  2197.  
  2198. extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
  2199.  
  2200.  
  2201.  
  2202.  
  2203.  
  2204. extern int puts (__const char *__s);
  2205.  
  2206.  
  2207.  
  2208.  
  2209.  
  2210.  
  2211. extern int ungetc (int __c, FILE *__stream);
  2212.  
  2213.  
  2214.  
  2215.  
  2216.  
  2217.  
  2218. extern size_t fread (void *__restrict __ptr, size_t __size,
  2219. size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
  2220.  
  2221.  
  2222.  
  2223.  
  2224. extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
  2225. size_t __n, FILE *__restrict __s);
  2226.  
  2227. # 719 "/usr/include/stdio.h" 3 4
  2228. extern int fputs_unlocked (__const char *__restrict __s,
  2229. FILE *__restrict __stream);
  2230. # 730 "/usr/include/stdio.h" 3 4
  2231. extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
  2232. size_t __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
  2233. extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
  2234. size_t __n, FILE *__restrict __stream);
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243. extern int fseek (FILE *__stream, long int __off, int __whence);
  2244.  
  2245.  
  2246.  
  2247.  
  2248. extern long int ftell (FILE *__stream) __attribute__ ((__warn_unused_result__));
  2249.  
  2250.  
  2251.  
  2252.  
  2253. extern void rewind (FILE *__stream);
  2254.  
  2255. # 774 "/usr/include/stdio.h" 3 4
  2256. extern int fseeko (FILE *__stream, __off64_t __off, int __whence) __asm__ ("" "fseeko64");
  2257.  
  2258.  
  2259. extern __off64_t ftello (FILE *__stream) __asm__ ("" "ftello64");
  2260.  
  2261.  
  2262.  
  2263.  
  2264.  
  2265.  
  2266.  
  2267.  
  2268. # 799 "/usr/include/stdio.h" 3 4
  2269. extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos) __asm__ ("" "fgetpos64");
  2270.  
  2271. extern int fsetpos (FILE *__stream, __const fpos_t *__pos) __asm__ ("" "fsetpos64");
  2272.  
  2273.  
  2274.  
  2275.  
  2276.  
  2277.  
  2278.  
  2279.  
  2280.  
  2281. extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
  2282. extern __off64_t ftello64 (FILE *__stream) __attribute__ ((__warn_unused_result__));
  2283. extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
  2284. extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
  2285.  
  2286.  
  2287.  
  2288.  
  2289. extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__));
  2290.  
  2291. extern int feof (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  2292.  
  2293. extern int ferror (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  2294.  
  2295.  
  2296.  
  2297.  
  2298. extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
  2299. extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  2300. extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  2301.  
  2302.  
  2303.  
  2304.  
  2305.  
  2306.  
  2307.  
  2308.  
  2309. extern void perror (__const char *__s);
  2310.  
  2311.  
  2312.  
  2313.  
  2314.  
  2315.  
  2316. # 1 "/usr/include/bits/sys_errlist.h" 1 3 4
  2317. # 27 "/usr/include/bits/sys_errlist.h" 3 4
  2318. extern int sys_nerr;
  2319. extern __const char *__const sys_errlist[];
  2320.  
  2321.  
  2322. extern int _sys_nerr;
  2323. extern __const char *__const _sys_errlist[];
  2324. # 847 "/usr/include/stdio.h" 2 3 4
  2325.  
  2326.  
  2327.  
  2328.  
  2329. extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  2330.  
  2331.  
  2332.  
  2333.  
  2334. extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  2335. # 866 "/usr/include/stdio.h" 3 4
  2336. extern FILE *popen (__const char *__command, __const char *__modes) __attribute__ ((__warn_unused_result__));
  2337.  
  2338.  
  2339.  
  2340.  
  2341.  
  2342. extern int pclose (FILE *__stream);
  2343.  
  2344.  
  2345.  
  2346.  
  2347.  
  2348. extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
  2349.  
  2350.  
  2351.  
  2352.  
  2353.  
  2354. extern char *cuserid (char *__s);
  2355.  
  2356.  
  2357.  
  2358.  
  2359. struct obstack;
  2360.  
  2361.  
  2362. extern int obstack_printf (struct obstack *__restrict __obstack,
  2363. __const char *__restrict __format, ...)
  2364. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 3)));
  2365. extern int obstack_vprintf (struct obstack *__restrict __obstack,
  2366. __const char *__restrict __format,
  2367. __gnuc_va_list __args)
  2368. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 2, 0)));
  2369.  
  2370.  
  2371.  
  2372.  
  2373.  
  2374.  
  2375.  
  2376. extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__));
  2377.  
  2378.  
  2379.  
  2380. extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  2381.  
  2382.  
  2383. extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__));
  2384. # 927 "/usr/include/stdio.h" 3 4
  2385. # 1 "/usr/include/bits/stdio.h" 1 3 4
  2386. # 44 "/usr/include/bits/stdio.h" 3 4
  2387. extern __inline int
  2388. getchar (void)
  2389. {
  2390. return _IO_getc (stdin);
  2391. }
  2392.  
  2393.  
  2394.  
  2395.  
  2396. extern __inline int
  2397. fgetc_unlocked (FILE *__fp)
  2398. {
  2399. return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
  2400. }
  2401.  
  2402.  
  2403.  
  2404.  
  2405.  
  2406. extern __inline int
  2407. getc_unlocked (FILE *__fp)
  2408. {
  2409. return (__builtin_expect (((__fp)->_IO_read_ptr >= (__fp)->_IO_read_end), 0) ? __uflow (__fp) : *(unsigned char *) (__fp)->_IO_read_ptr++);
  2410. }
  2411.  
  2412.  
  2413. extern __inline int
  2414. getchar_unlocked (void)
  2415. {
  2416. return (__builtin_expect (((stdin)->_IO_read_ptr >= (stdin)->_IO_read_end), 0) ? __uflow (stdin) : *(unsigned char *) (stdin)->_IO_read_ptr++);
  2417. }
  2418.  
  2419.  
  2420.  
  2421.  
  2422. extern __inline int
  2423. putchar (int __c)
  2424. {
  2425. return _IO_putc (__c, stdout);
  2426. }
  2427.  
  2428.  
  2429.  
  2430.  
  2431. extern __inline int
  2432. fputc_unlocked (int __c, FILE *__stream)
  2433. {
  2434. return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
  2435. }
  2436.  
  2437.  
  2438.  
  2439.  
  2440.  
  2441. extern __inline int
  2442. putc_unlocked (int __c, FILE *__stream)
  2443. {
  2444. return (__builtin_expect (((__stream)->_IO_write_ptr >= (__stream)->_IO_write_end), 0) ? __overflow (__stream, (unsigned char) (__c)) : (unsigned char) (*(__stream)->_IO_write_ptr++ = (__c)));
  2445. }
  2446.  
  2447.  
  2448. extern __inline int
  2449. putchar_unlocked (int __c)
  2450. {
  2451. return (__builtin_expect (((stdout)->_IO_write_ptr >= (stdout)->_IO_write_end), 0) ? __overflow (stdout, (unsigned char) (__c)) : (unsigned char) (*(stdout)->_IO_write_ptr++ = (__c)));
  2452. }
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458. extern __inline __ssize_t
  2459. getline (char **__lineptr, size_t *__n, FILE *__stream)
  2460. {
  2461. return __getdelim (__lineptr, __n, '\n', __stream);
  2462. }
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468. extern __inline int
  2469. __attribute__ ((__nothrow__)) feof_unlocked (FILE *__stream)
  2470. {
  2471. return (((__stream)->_flags & 0x10) != 0);
  2472. }
  2473.  
  2474.  
  2475. extern __inline int
  2476. __attribute__ ((__nothrow__)) ferror_unlocked (FILE *__stream)
  2477. {
  2478. return (((__stream)->_flags & 0x20) != 0);
  2479. }
  2480. # 928 "/usr/include/stdio.h" 2 3 4
  2481.  
  2482.  
  2483. # 1 "/usr/include/bits/stdio2.h" 1 3 4
  2484. # 24 "/usr/include/bits/stdio2.h" 3 4
  2485. extern int __sprintf_chk (char *__restrict __s, int __flag, size_t __slen,
  2486. __const char *__restrict __format, ...) __attribute__ ((__nothrow__));
  2487. extern int __vsprintf_chk (char *__restrict __s, int __flag, size_t __slen,
  2488. __const char *__restrict __format,
  2489. __gnuc_va_list __ap) __attribute__ ((__nothrow__));
  2490.  
  2491.  
  2492. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2493. __attribute__ ((__nothrow__)) sprintf (char *__restrict __s, __const char *__restrict __fmt, ...)
  2494. {
  2495. return __builtin___sprintf_chk (__s, 2 - 1,
  2496. __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
  2497. }
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2505. __attribute__ ((__nothrow__)) vsprintf (char *__restrict __s, __const char *__restrict __fmt, __gnuc_va_list __ap)
  2506.  
  2507. {
  2508. return __builtin___vsprintf_chk (__s, 2 - 1,
  2509. __builtin_object_size (__s, 2 > 1), __fmt, __ap);
  2510. }
  2511.  
  2512.  
  2513.  
  2514. extern int __snprintf_chk (char *__restrict __s, size_t __n, int __flag,
  2515. size_t __slen, __const char *__restrict __format,
  2516. ...) __attribute__ ((__nothrow__));
  2517. extern int __vsnprintf_chk (char *__restrict __s, size_t __n, int __flag,
  2518. size_t __slen, __const char *__restrict __format,
  2519. __gnuc_va_list __ap) __attribute__ ((__nothrow__));
  2520.  
  2521.  
  2522. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2523. __attribute__ ((__nothrow__)) snprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, ...)
  2524.  
  2525. {
  2526. return __builtin___snprintf_chk (__s, __n, 2 - 1,
  2527. __builtin_object_size (__s, 2 > 1), __fmt, __builtin_va_arg_pack ());
  2528. }
  2529.  
  2530.  
  2531.  
  2532.  
  2533.  
  2534.  
  2535. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2536. __attribute__ ((__nothrow__)) vsnprintf (char *__restrict __s, size_t __n, __const char *__restrict __fmt, __gnuc_va_list __ap)
  2537.  
  2538. {
  2539. return __builtin___vsnprintf_chk (__s, __n, 2 - 1,
  2540. __builtin_object_size (__s, 2 > 1), __fmt, __ap);
  2541. }
  2542.  
  2543.  
  2544.  
  2545.  
  2546.  
  2547. extern int __fprintf_chk (FILE *__restrict __stream, int __flag,
  2548. __const char *__restrict __format, ...);
  2549. extern int __printf_chk (int __flag, __const char *__restrict __format, ...);
  2550. extern int __vfprintf_chk (FILE *__restrict __stream, int __flag,
  2551. __const char *__restrict __format, __gnuc_va_list __ap);
  2552. extern int __vprintf_chk (int __flag, __const char *__restrict __format,
  2553. __gnuc_va_list __ap);
  2554.  
  2555.  
  2556. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2557. fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...)
  2558. {
  2559. return __fprintf_chk (__stream, 2 - 1, __fmt,
  2560. __builtin_va_arg_pack ());
  2561. }
  2562.  
  2563. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2564. printf (__const char *__restrict __fmt, ...)
  2565. {
  2566. return __printf_chk (2 - 1, __fmt, __builtin_va_arg_pack ());
  2567. }
  2568.  
  2569.  
  2570.  
  2571.  
  2572.  
  2573.  
  2574.  
  2575. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2576. vprintf (__const char *__restrict __fmt, __gnuc_va_list __ap)
  2577. {
  2578.  
  2579. return __vfprintf_chk (stdout, 2 - 1, __fmt, __ap);
  2580.  
  2581.  
  2582.  
  2583. }
  2584.  
  2585. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2586. vfprintf (FILE *__restrict __stream,
  2587. __const char *__restrict __fmt, __gnuc_va_list __ap)
  2588. {
  2589. return __vfprintf_chk (__stream, 2 - 1, __fmt, __ap);
  2590. }
  2591.  
  2592.  
  2593.  
  2594. extern int __asprintf_chk (char **__restrict __ptr, int __flag,
  2595. __const char *__restrict __fmt, ...)
  2596. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4))) __attribute__ ((__warn_unused_result__));
  2597. extern int __vasprintf_chk (char **__restrict __ptr, int __flag,
  2598. __const char *__restrict __fmt, __gnuc_va_list __arg)
  2599. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0))) __attribute__ ((__warn_unused_result__));
  2600. extern int __dprintf_chk (int __fd, int __flag, __const char *__restrict __fmt,
  2601. ...) __attribute__ ((__format__ (__printf__, 3, 4)));
  2602. extern int __vdprintf_chk (int __fd, int __flag,
  2603. __const char *__restrict __fmt, __gnuc_va_list __arg)
  2604. __attribute__ ((__format__ (__printf__, 3, 0)));
  2605. extern int __obstack_printf_chk (struct obstack *__restrict __obstack,
  2606. int __flag, __const char *__restrict __format,
  2607. ...)
  2608. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
  2609. extern int __obstack_vprintf_chk (struct obstack *__restrict __obstack,
  2610. int __flag,
  2611. __const char *__restrict __format,
  2612. __gnuc_va_list __args)
  2613. __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
  2614.  
  2615.  
  2616. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2617. __attribute__ ((__nothrow__)) asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
  2618. {
  2619. return __asprintf_chk (__ptr, 2 - 1, __fmt,
  2620. __builtin_va_arg_pack ());
  2621. }
  2622.  
  2623. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2624. __attribute__ ((__nothrow__)) __asprintf (char **__restrict __ptr, __const char *__restrict __fmt, ...)
  2625.  
  2626. {
  2627. return __asprintf_chk (__ptr, 2 - 1, __fmt,
  2628. __builtin_va_arg_pack ());
  2629. }
  2630.  
  2631. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2632. dprintf (int __fd, __const char *__restrict __fmt, ...)
  2633. {
  2634. return __dprintf_chk (__fd, 2 - 1, __fmt,
  2635. __builtin_va_arg_pack ());
  2636. }
  2637.  
  2638. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2639. __attribute__ ((__nothrow__)) obstack_printf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, ...)
  2640.  
  2641. {
  2642. return __obstack_printf_chk (__obstack, 2 - 1, __fmt,
  2643. __builtin_va_arg_pack ());
  2644. }
  2645. # 195 "/usr/include/bits/stdio2.h" 3 4
  2646. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2647. __attribute__ ((__nothrow__)) vasprintf (char **__restrict __ptr, __const char *__restrict __fmt, __gnuc_va_list __ap)
  2648.  
  2649. {
  2650. return __vasprintf_chk (__ptr, 2 - 1, __fmt, __ap);
  2651. }
  2652.  
  2653. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2654. vdprintf (int __fd, __const char *__restrict __fmt, __gnuc_va_list __ap)
  2655. {
  2656. return __vdprintf_chk (__fd, 2 - 1, __fmt, __ap);
  2657. }
  2658.  
  2659. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  2660. __attribute__ ((__nothrow__)) obstack_vprintf (struct obstack *__restrict __obstack, __const char *__restrict __fmt, __gnuc_va_list __ap)
  2661.  
  2662. {
  2663. return __obstack_vprintf_chk (__obstack, 2 - 1, __fmt,
  2664. __ap);
  2665. }
  2666.  
  2667.  
  2668.  
  2669.  
  2670.  
  2671. extern char *__gets_chk (char *__str, size_t) __attribute__ ((__warn_unused_result__));
  2672. extern char *__gets_warn (char *__str) __asm__ ("" "gets")
  2673. __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use fgets or getline instead, gets can't " "specify buffer size")));
  2674.  
  2675.  
  2676. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
  2677. gets (char *__str)
  2678. {
  2679. if (__builtin_object_size (__str, 2 > 1) != (size_t) -1)
  2680. return __gets_chk (__str, __builtin_object_size (__str, 2 > 1));
  2681. return __gets_warn (__str);
  2682. }
  2683.  
  2684. extern char *__fgets_chk (char *__restrict __s, size_t __size, int __n,
  2685. FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
  2686. extern char *__fgets_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets") __attribute__ ((__warn_unused_result__));
  2687.  
  2688.  
  2689. extern char *__fgets_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_chk")
  2690.  
  2691.  
  2692. __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets called with bigger size than length " "of destination buffer")));
  2693.  
  2694.  
  2695. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
  2696. fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
  2697. {
  2698. if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
  2699. {
  2700. if (!__builtin_constant_p (__n) || __n <= 0)
  2701. return __fgets_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
  2702.  
  2703. if ((size_t) __n > __builtin_object_size (__s, 2 > 1))
  2704. return __fgets_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
  2705. }
  2706. return __fgets_alias (__s, __n, __stream);
  2707. }
  2708.  
  2709. extern size_t __fread_chk (void *__restrict __ptr, size_t __ptrlen,
  2710. size_t __size, size_t __n,
  2711. FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
  2712. extern size_t __fread_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread") __attribute__ ((__warn_unused_result__));
  2713.  
  2714.  
  2715.  
  2716. extern size_t __fread_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_chk")
  2717.  
  2718.  
  2719.  
  2720.  
  2721. __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread called with bigger size * nmemb than length " "of destination buffer")));
  2722.  
  2723.  
  2724. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
  2725. fread (void *__restrict __ptr, size_t __size, size_t __n,
  2726. FILE *__restrict __stream)
  2727. {
  2728. if (__builtin_object_size (__ptr, 0) != (size_t) -1)
  2729. {
  2730. if (!__builtin_constant_p (__size)
  2731. || !__builtin_constant_p (__n)
  2732. || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2)))
  2733. return __fread_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream);
  2734.  
  2735. if (__size * __n > __builtin_object_size (__ptr, 0))
  2736. return __fread_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n, __stream);
  2737. }
  2738. return __fread_alias (__ptr, __size, __n, __stream);
  2739. }
  2740.  
  2741.  
  2742. extern char *__fgets_unlocked_chk (char *__restrict __s, size_t __size,
  2743. int __n, FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
  2744. extern char *__fgets_unlocked_alias (char *__restrict __s, int __n, FILE *__restrict __stream) __asm__ ("" "fgets_unlocked") __attribute__ ((__warn_unused_result__));
  2745.  
  2746.  
  2747. extern char *__fgets_unlocked_chk_warn (char *__restrict __s, size_t __size, int __n, FILE *__restrict __stream) __asm__ ("" "__fgets_unlocked_chk")
  2748.  
  2749.  
  2750. __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fgets_unlocked called with bigger size than length " "of destination buffer")));
  2751.  
  2752.  
  2753. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
  2754. fgets_unlocked (char *__restrict __s, int __n, FILE *__restrict __stream)
  2755. {
  2756. if (__builtin_object_size (__s, 2 > 1) != (size_t) -1)
  2757. {
  2758. if (!__builtin_constant_p (__n) || __n <= 0)
  2759. return __fgets_unlocked_chk (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
  2760.  
  2761. if ((size_t) __n > __builtin_object_size (__s, 2 > 1))
  2762. return __fgets_unlocked_chk_warn (__s, __builtin_object_size (__s, 2 > 1), __n, __stream);
  2763. }
  2764. return __fgets_unlocked_alias (__s, __n, __stream);
  2765. }
  2766.  
  2767.  
  2768.  
  2769.  
  2770. extern size_t __fread_unlocked_chk (void *__restrict __ptr, size_t __ptrlen,
  2771. size_t __size, size_t __n,
  2772. FILE *__restrict __stream) __attribute__ ((__warn_unused_result__));
  2773. extern size_t __fread_unlocked_alias (void *__restrict __ptr, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "fread_unlocked") __attribute__ ((__warn_unused_result__));
  2774.  
  2775.  
  2776.  
  2777. extern size_t __fread_unlocked_chk_warn (void *__restrict __ptr, size_t __ptrlen, size_t __size, size_t __n, FILE *__restrict __stream) __asm__ ("" "__fread_unlocked_chk")
  2778.  
  2779.  
  2780.  
  2781.  
  2782. __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("fread_unlocked called with bigger size * nmemb than " "length of destination buffer")));
  2783.  
  2784.  
  2785. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) size_t
  2786. fread_unlocked (void *__restrict __ptr, size_t __size, size_t __n,
  2787. FILE *__restrict __stream)
  2788. {
  2789. if (__builtin_object_size (__ptr, 0) != (size_t) -1)
  2790. {
  2791. if (!__builtin_constant_p (__size)
  2792. || !__builtin_constant_p (__n)
  2793. || (__size | __n) >= (((size_t) 1) << (8 * sizeof (size_t) / 2)))
  2794. return __fread_unlocked_chk (__ptr, __builtin_object_size (__ptr, 0), __size, __n,
  2795. __stream);
  2796.  
  2797. if (__size * __n > __builtin_object_size (__ptr, 0))
  2798. return __fread_unlocked_chk_warn (__ptr, __builtin_object_size (__ptr, 0), __size, __n,
  2799. __stream);
  2800. }
  2801.  
  2802.  
  2803. if (__builtin_constant_p (__size)
  2804. && __builtin_constant_p (__n)
  2805. && (__size | __n) < (((size_t) 1) << (8 * sizeof (size_t) / 2))
  2806. && __size * __n <= 8)
  2807. {
  2808. size_t __cnt = __size * __n;
  2809. char *__cptr = (char *) __ptr;
  2810. if (__cnt == 0)
  2811. return 0;
  2812.  
  2813. for (; __cnt > 0; --__cnt)
  2814. {
  2815. int __c = (__builtin_expect (((__stream)->_IO_read_ptr >= (__stream)->_IO_read_end), 0) ? __uflow (__stream) : *(unsigned char *) (__stream)->_IO_read_ptr++);
  2816. if (__c == (-1))
  2817. break;
  2818. *__cptr++ = __c;
  2819. }
  2820. return (__cptr - (char *) __ptr) / __size;
  2821. }
  2822.  
  2823. return __fread_unlocked_alias (__ptr, __size, __n, __stream);
  2824. }
  2825. # 931 "/usr/include/stdio.h" 2 3 4
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832. # 21 "./qemu-common.h" 2
  2833. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stdarg.h" 1 3 4
  2834. # 22 "./qemu-common.h" 2
  2835. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stdbool.h" 1 3 4
  2836. # 23 "./qemu-common.h" 2
  2837. # 1 "/usr/include/string.h" 1 3 4
  2838. # 29 "/usr/include/string.h" 3 4
  2839.  
  2840.  
  2841.  
  2842.  
  2843.  
  2844. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 1 3 4
  2845. # 35 "/usr/include/string.h" 2 3 4
  2846.  
  2847.  
  2848.  
  2849.  
  2850.  
  2851.  
  2852.  
  2853.  
  2854.  
  2855. extern void *memcpy (void *__restrict __dest,
  2856. __const void *__restrict __src, size_t __n)
  2857. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  2858.  
  2859.  
  2860. extern void *memmove (void *__dest, __const void *__src, size_t __n)
  2861. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  2862.  
  2863.  
  2864.  
  2865.  
  2866.  
  2867.  
  2868. extern void *memccpy (void *__restrict __dest, __const void *__restrict __src,
  2869. int __c, size_t __n)
  2870. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  2871.  
  2872.  
  2873.  
  2874.  
  2875.  
  2876. extern void *memset (void *__s, int __c, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  2877.  
  2878.  
  2879. extern int memcmp (__const void *__s1, __const void *__s2, size_t __n)
  2880. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  2881. # 95 "/usr/include/string.h" 3 4
  2882. extern void *memchr (__const void *__s, int __c, size_t __n)
  2883. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  2884.  
  2885.  
  2886. # 109 "/usr/include/string.h" 3 4
  2887. extern void *rawmemchr (__const void *__s, int __c)
  2888. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  2889. # 120 "/usr/include/string.h" 3 4
  2890. extern void *memrchr (__const void *__s, int __c, size_t __n)
  2891. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  2892.  
  2893.  
  2894.  
  2895.  
  2896.  
  2897.  
  2898. extern char *strcpy (char *__restrict __dest, __const char *__restrict __src)
  2899. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  2900.  
  2901. extern char *strncpy (char *__restrict __dest,
  2902. __const char *__restrict __src, size_t __n)
  2903. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  2904.  
  2905.  
  2906. extern char *strcat (char *__restrict __dest, __const char *__restrict __src)
  2907. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  2908.  
  2909. extern char *strncat (char *__restrict __dest, __const char *__restrict __src,
  2910. size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  2911.  
  2912.  
  2913. extern int strcmp (__const char *__s1, __const char *__s2)
  2914. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  2915.  
  2916. extern int strncmp (__const char *__s1, __const char *__s2, size_t __n)
  2917. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  2918.  
  2919.  
  2920. extern int strcoll (__const char *__s1, __const char *__s2)
  2921. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  2922.  
  2923. extern size_t strxfrm (char *__restrict __dest,
  2924. __const char *__restrict __src, size_t __n)
  2925. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  2926.  
  2927. # 165 "/usr/include/string.h" 3 4
  2928. extern int strcoll_l (__const char *__s1, __const char *__s2, __locale_t __l)
  2929. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
  2930.  
  2931. extern size_t strxfrm_l (char *__dest, __const char *__src, size_t __n,
  2932. __locale_t __l) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
  2933.  
  2934.  
  2935.  
  2936.  
  2937.  
  2938. extern char *strdup (__const char *__s)
  2939. __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
  2940.  
  2941.  
  2942.  
  2943.  
  2944.  
  2945.  
  2946. extern char *strndup (__const char *__string, size_t __n)
  2947. __attribute__ ((__nothrow__)) __attribute__ ((__malloc__)) __attribute__ ((__nonnull__ (1)));
  2948. # 210 "/usr/include/string.h" 3 4
  2949.  
  2950. # 235 "/usr/include/string.h" 3 4
  2951. extern char *strchr (__const char *__s, int __c)
  2952. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  2953. # 262 "/usr/include/string.h" 3 4
  2954. extern char *strrchr (__const char *__s, int __c)
  2955. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  2956.  
  2957.  
  2958. # 276 "/usr/include/string.h" 3 4
  2959. extern char *strchrnul (__const char *__s, int __c)
  2960. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  2961.  
  2962.  
  2963.  
  2964.  
  2965.  
  2966.  
  2967. extern size_t strcspn (__const char *__s, __const char *__reject)
  2968. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  2969.  
  2970.  
  2971. extern size_t strspn (__const char *__s, __const char *__accept)
  2972. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  2973. # 314 "/usr/include/string.h" 3 4
  2974. extern char *strpbrk (__const char *__s, __const char *__accept)
  2975. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  2976. # 342 "/usr/include/string.h" 3 4
  2977. extern char *strstr (__const char *__haystack, __const char *__needle)
  2978. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  2979.  
  2980.  
  2981.  
  2982.  
  2983. extern char *strtok (char *__restrict __s, __const char *__restrict __delim)
  2984. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  2985.  
  2986.  
  2987.  
  2988.  
  2989. extern char *__strtok_r (char *__restrict __s,
  2990. __const char *__restrict __delim,
  2991. char **__restrict __save_ptr)
  2992. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
  2993.  
  2994. extern char *strtok_r (char *__restrict __s, __const char *__restrict __delim,
  2995. char **__restrict __save_ptr)
  2996. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
  2997. # 373 "/usr/include/string.h" 3 4
  2998. extern char *strcasestr (__const char *__haystack, __const char *__needle)
  2999. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007. extern void *memmem (__const void *__haystack, size_t __haystacklen,
  3008. __const void *__needle, size_t __needlelen)
  3009. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 3)));
  3010.  
  3011.  
  3012.  
  3013. extern void *__mempcpy (void *__restrict __dest,
  3014. __const void *__restrict __src, size_t __n)
  3015. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  3016. extern void *mempcpy (void *__restrict __dest,
  3017. __const void *__restrict __src, size_t __n)
  3018. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024. extern size_t strlen (__const char *__s)
  3025. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  3026.  
  3027.  
  3028.  
  3029.  
  3030.  
  3031. extern size_t strnlen (__const char *__string, size_t __maxlen)
  3032. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038. extern char *strerror (int __errnum) __attribute__ ((__nothrow__));
  3039.  
  3040. # 438 "/usr/include/string.h" 3 4
  3041. extern char *strerror_r (int __errnum, char *__buf, size_t __buflen)
  3042. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048. extern char *strerror_l (int __errnum, __locale_t __l) __attribute__ ((__nothrow__));
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054. extern void __bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  3055.  
  3056.  
  3057.  
  3058. extern void bcopy (__const void *__src, void *__dest, size_t __n)
  3059. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  3060.  
  3061.  
  3062. extern void bzero (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  3063.  
  3064.  
  3065. extern int bcmp (__const void *__s1, __const void *__s2, size_t __n)
  3066. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  3067. # 489 "/usr/include/string.h" 3 4
  3068. extern char *index (__const char *__s, int __c)
  3069. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  3070. # 517 "/usr/include/string.h" 3 4
  3071. extern char *rindex (__const char *__s, int __c)
  3072. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1)));
  3073.  
  3074.  
  3075.  
  3076.  
  3077. extern int ffs (int __i) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
  3078.  
  3079.  
  3080.  
  3081.  
  3082. extern int ffsl (long int __l) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
  3083.  
  3084. __extension__ extern int ffsll (long long int __ll)
  3085. __attribute__ ((__nothrow__)) __attribute__ ((__const__));
  3086.  
  3087.  
  3088.  
  3089.  
  3090. extern int strcasecmp (__const char *__s1, __const char *__s2)
  3091. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  3092.  
  3093.  
  3094. extern int strncasecmp (__const char *__s1, __const char *__s2, size_t __n)
  3095. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  3096.  
  3097.  
  3098.  
  3099.  
  3100.  
  3101. extern int strcasecmp_l (__const char *__s1, __const char *__s2,
  3102. __locale_t __loc)
  3103. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 3)));
  3104.  
  3105. extern int strncasecmp_l (__const char *__s1, __const char *__s2,
  3106. size_t __n, __locale_t __loc)
  3107. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2, 4)));
  3108.  
  3109.  
  3110.  
  3111.  
  3112.  
  3113. extern char *strsep (char **__restrict __stringp,
  3114. __const char *__restrict __delim)
  3115. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  3116.  
  3117.  
  3118.  
  3119.  
  3120. extern char *strsignal (int __sig) __attribute__ ((__nothrow__));
  3121.  
  3122.  
  3123. extern char *__stpcpy (char *__restrict __dest, __const char *__restrict __src)
  3124. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  3125. extern char *stpcpy (char *__restrict __dest, __const char *__restrict __src)
  3126. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  3127.  
  3128.  
  3129.  
  3130. extern char *__stpncpy (char *__restrict __dest,
  3131. __const char *__restrict __src, size_t __n)
  3132. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  3133. extern char *stpncpy (char *__restrict __dest,
  3134. __const char *__restrict __src, size_t __n)
  3135. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  3136.  
  3137.  
  3138.  
  3139.  
  3140. extern int strverscmp (__const char *__s1, __const char *__s2)
  3141. __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1, 2)));
  3142.  
  3143.  
  3144. extern char *strfry (char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  3145.  
  3146.  
  3147. extern void *memfrob (void *__s, size_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  3148. # 606 "/usr/include/string.h" 3 4
  3149. extern char *basename (__const char *__filename) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  3150. # 634 "/usr/include/string.h" 3 4
  3151. # 1 "/usr/include/bits/string.h" 1 3 4
  3152. # 635 "/usr/include/string.h" 2 3 4
  3153.  
  3154.  
  3155. # 1 "/usr/include/bits/string2.h" 1 3 4
  3156. # 394 "/usr/include/bits/string2.h" 3 4
  3157. extern void *__rawmemchr (const void *__s, int __c);
  3158. # 969 "/usr/include/bits/string2.h" 3 4
  3159. extern __inline size_t __strcspn_c1 (__const char *__s, int __reject);
  3160. extern __inline size_t
  3161. __strcspn_c1 (__const char *__s, int __reject)
  3162. {
  3163. register size_t __result = 0;
  3164. while (__s[__result] != '\0' && __s[__result] != __reject)
  3165. ++__result;
  3166. return __result;
  3167. }
  3168.  
  3169. extern __inline size_t __strcspn_c2 (__const char *__s, int __reject1,
  3170. int __reject2);
  3171. extern __inline size_t
  3172. __strcspn_c2 (__const char *__s, int __reject1, int __reject2)
  3173. {
  3174. register size_t __result = 0;
  3175. while (__s[__result] != '\0' && __s[__result] != __reject1
  3176. && __s[__result] != __reject2)
  3177. ++__result;
  3178. return __result;
  3179. }
  3180.  
  3181. extern __inline size_t __strcspn_c3 (__const char *__s, int __reject1,
  3182. int __reject2, int __reject3);
  3183. extern __inline size_t
  3184. __strcspn_c3 (__const char *__s, int __reject1, int __reject2,
  3185. int __reject3)
  3186. {
  3187. register size_t __result = 0;
  3188. while (__s[__result] != '\0' && __s[__result] != __reject1
  3189. && __s[__result] != __reject2 && __s[__result] != __reject3)
  3190. ++__result;
  3191. return __result;
  3192. }
  3193. # 1045 "/usr/include/bits/string2.h" 3 4
  3194. extern __inline size_t __strspn_c1 (__const char *__s, int __accept);
  3195. extern __inline size_t
  3196. __strspn_c1 (__const char *__s, int __accept)
  3197. {
  3198. register size_t __result = 0;
  3199.  
  3200. while (__s[__result] == __accept)
  3201. ++__result;
  3202. return __result;
  3203. }
  3204.  
  3205. extern __inline size_t __strspn_c2 (__const char *__s, int __accept1,
  3206. int __accept2);
  3207. extern __inline size_t
  3208. __strspn_c2 (__const char *__s, int __accept1, int __accept2)
  3209. {
  3210. register size_t __result = 0;
  3211.  
  3212. while (__s[__result] == __accept1 || __s[__result] == __accept2)
  3213. ++__result;
  3214. return __result;
  3215. }
  3216.  
  3217. extern __inline size_t __strspn_c3 (__const char *__s, int __accept1,
  3218. int __accept2, int __accept3);
  3219. extern __inline size_t
  3220. __strspn_c3 (__const char *__s, int __accept1, int __accept2, int __accept3)
  3221. {
  3222. register size_t __result = 0;
  3223.  
  3224. while (__s[__result] == __accept1 || __s[__result] == __accept2
  3225. || __s[__result] == __accept3)
  3226. ++__result;
  3227. return __result;
  3228. }
  3229. # 1121 "/usr/include/bits/string2.h" 3 4
  3230. extern __inline char *__strpbrk_c2 (__const char *__s, int __accept1,
  3231. int __accept2);
  3232. extern __inline char *
  3233. __strpbrk_c2 (__const char *__s, int __accept1, int __accept2)
  3234. {
  3235.  
  3236. while (*__s != '\0' && *__s != __accept1 && *__s != __accept2)
  3237. ++__s;
  3238. return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
  3239. }
  3240.  
  3241. extern __inline char *__strpbrk_c3 (__const char *__s, int __accept1,
  3242. int __accept2, int __accept3);
  3243. extern __inline char *
  3244. __strpbrk_c3 (__const char *__s, int __accept1, int __accept2,
  3245. int __accept3)
  3246. {
  3247.  
  3248. while (*__s != '\0' && *__s != __accept1 && *__s != __accept2
  3249. && *__s != __accept3)
  3250. ++__s;
  3251. return *__s == '\0' ? ((void *)0) : (char *) (size_t) __s;
  3252. }
  3253. # 1172 "/usr/include/bits/string2.h" 3 4
  3254. extern __inline char *__strtok_r_1c (char *__s, char __sep, char **__nextp);
  3255. extern __inline char *
  3256. __strtok_r_1c (char *__s, char __sep, char **__nextp)
  3257. {
  3258. char *__result;
  3259. if (__s == ((void *)0))
  3260. __s = *__nextp;
  3261. while (*__s == __sep)
  3262. ++__s;
  3263. __result = ((void *)0);
  3264. if (*__s != '\0')
  3265. {
  3266. __result = __s++;
  3267. while (*__s != '\0')
  3268. if (*__s++ == __sep)
  3269. {
  3270. __s[-1] = '\0';
  3271. break;
  3272. }
  3273. }
  3274. *__nextp = __s;
  3275. return __result;
  3276. }
  3277. # 1204 "/usr/include/bits/string2.h" 3 4
  3278. extern char *__strsep_g (char **__stringp, __const char *__delim);
  3279. # 1222 "/usr/include/bits/string2.h" 3 4
  3280. extern __inline char *__strsep_1c (char **__s, char __reject);
  3281. extern __inline char *
  3282. __strsep_1c (char **__s, char __reject)
  3283. {
  3284. register char *__retval = *__s;
  3285. if (__retval != ((void *)0) && (*__s = (__extension__ (__builtin_constant_p (__reject) && !__builtin_constant_p (__retval) && (__reject) == '\0' ? (char *) __rawmemchr (__retval, __reject) : __builtin_strchr (__retval, __reject)))) != ((void *)0))
  3286. *(*__s)++ = '\0';
  3287. return __retval;
  3288. }
  3289.  
  3290. extern __inline char *__strsep_2c (char **__s, char __reject1, char __reject2);
  3291. extern __inline char *
  3292. __strsep_2c (char **__s, char __reject1, char __reject2)
  3293. {
  3294. register char *__retval = *__s;
  3295. if (__retval != ((void *)0))
  3296. {
  3297. register char *__cp = __retval;
  3298. while (1)
  3299. {
  3300. if (*__cp == '\0')
  3301. {
  3302. __cp = ((void *)0);
  3303. break;
  3304. }
  3305. if (*__cp == __reject1 || *__cp == __reject2)
  3306. {
  3307. *__cp++ = '\0';
  3308. break;
  3309. }
  3310. ++__cp;
  3311. }
  3312. *__s = __cp;
  3313. }
  3314. return __retval;
  3315. }
  3316.  
  3317. extern __inline char *__strsep_3c (char **__s, char __reject1, char __reject2,
  3318. char __reject3);
  3319. extern __inline char *
  3320. __strsep_3c (char **__s, char __reject1, char __reject2, char __reject3)
  3321. {
  3322. register char *__retval = *__s;
  3323. if (__retval != ((void *)0))
  3324. {
  3325. register char *__cp = __retval;
  3326. while (1)
  3327. {
  3328. if (*__cp == '\0')
  3329. {
  3330. __cp = ((void *)0);
  3331. break;
  3332. }
  3333. if (*__cp == __reject1 || *__cp == __reject2 || *__cp == __reject3)
  3334. {
  3335. *__cp++ = '\0';
  3336. break;
  3337. }
  3338. ++__cp;
  3339. }
  3340. *__s = __cp;
  3341. }
  3342. return __retval;
  3343. }
  3344. # 1303 "/usr/include/bits/string2.h" 3 4
  3345. extern char *__strdup (__const char *__string) __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
  3346. # 1322 "/usr/include/bits/string2.h" 3 4
  3347. extern char *__strndup (__const char *__string, size_t __n)
  3348. __attribute__ ((__nothrow__)) __attribute__ ((__malloc__));
  3349. # 638 "/usr/include/string.h" 2 3 4
  3350.  
  3351.  
  3352.  
  3353.  
  3354. # 1 "/usr/include/bits/string3.h" 1 3 4
  3355. # 23 "/usr/include/bits/string3.h" 3 4
  3356. extern void __warn_memset_zero_len (void) __attribute__((__warning__ ("memset used with constant zero length parameter; this could be due to transposed parameters")));
  3357. # 48 "/usr/include/bits/string3.h" 3 4
  3358. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
  3359. __attribute__ ((__nothrow__)) memcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len)
  3360.  
  3361. {
  3362. return __builtin___memcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
  3363. }
  3364.  
  3365. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
  3366. __attribute__ ((__nothrow__)) memmove (void *__restrict __dest, __const void *__restrict __src, size_t __len)
  3367.  
  3368. {
  3369. return __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
  3370. }
  3371.  
  3372.  
  3373. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
  3374. __attribute__ ((__nothrow__)) mempcpy (void *__restrict __dest, __const void *__restrict __src, size_t __len)
  3375.  
  3376. {
  3377. return __builtin___mempcpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
  3378. }
  3379. # 77 "/usr/include/bits/string3.h" 3 4
  3380. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void *
  3381. __attribute__ ((__nothrow__)) memset (void *__dest, int __ch, size_t __len)
  3382. {
  3383. if (__builtin_constant_p (__len) && __len == 0
  3384. && (!__builtin_constant_p (__ch) || __ch != 0))
  3385. {
  3386. __warn_memset_zero_len ();
  3387. return __dest;
  3388. }
  3389. return __builtin___memset_chk (__dest, __ch, __len, __builtin_object_size (__dest, 0));
  3390. }
  3391.  
  3392.  
  3393. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void
  3394. __attribute__ ((__nothrow__)) bcopy (__const void *__restrict __src, void *__restrict __dest, size_t __len)
  3395.  
  3396. {
  3397. (void) __builtin___memmove_chk (__dest, __src, __len, __builtin_object_size (__dest, 0));
  3398. }
  3399.  
  3400. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) void
  3401. __attribute__ ((__nothrow__)) bzero (void *__dest, size_t __len)
  3402. {
  3403. (void) __builtin___memset_chk (__dest, '\0', __len, __builtin_object_size (__dest, 0));
  3404. }
  3405.  
  3406.  
  3407. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
  3408. __attribute__ ((__nothrow__)) strcpy (char *__restrict __dest, __const char *__restrict __src)
  3409. {
  3410. return __builtin___strcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
  3411. }
  3412.  
  3413.  
  3414. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
  3415. __attribute__ ((__nothrow__)) stpcpy (char *__restrict __dest, __const char *__restrict __src)
  3416. {
  3417. return __builtin___stpcpy_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
  3418. }
  3419.  
  3420.  
  3421.  
  3422. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
  3423. __attribute__ ((__nothrow__)) strncpy (char *__restrict __dest, __const char *__restrict __src, size_t __len)
  3424.  
  3425. {
  3426. return __builtin___strncpy_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
  3427. }
  3428.  
  3429.  
  3430. extern char *__stpncpy_chk (char *__dest, __const char *__src, size_t __n,
  3431. size_t __destlen) __attribute__ ((__nothrow__));
  3432. extern char *__stpncpy_alias (char *__dest, __const char *__src, size_t __n) __asm__ ("" "stpncpy") __attribute__ ((__nothrow__));
  3433.  
  3434.  
  3435.  
  3436. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
  3437. __attribute__ ((__nothrow__)) stpncpy (char *__dest, __const char *__src, size_t __n)
  3438. {
  3439. if (__builtin_object_size (__dest, 2 > 1) != (size_t) -1
  3440. && (!__builtin_constant_p (__n) || __n <= __builtin_object_size (__dest, 2 > 1)))
  3441. return __stpncpy_chk (__dest, __src, __n, __builtin_object_size (__dest, 2 > 1));
  3442. return __stpncpy_alias (__dest, __src, __n);
  3443. }
  3444.  
  3445.  
  3446. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
  3447. __attribute__ ((__nothrow__)) strcat (char *__restrict __dest, __const char *__restrict __src)
  3448. {
  3449. return __builtin___strcat_chk (__dest, __src, __builtin_object_size (__dest, 2 > 1));
  3450. }
  3451.  
  3452.  
  3453. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) char *
  3454. __attribute__ ((__nothrow__)) strncat (char *__restrict __dest, __const char *__restrict __src, size_t __len)
  3455.  
  3456. {
  3457. return __builtin___strncat_chk (__dest, __src, __len, __builtin_object_size (__dest, 2 > 1));
  3458. }
  3459. # 643 "/usr/include/string.h" 2 3 4
  3460.  
  3461.  
  3462.  
  3463.  
  3464. # 24 "./qemu-common.h" 2
  3465. # 1 "/usr/include/strings.h" 1 3 4
  3466. # 25 "./qemu-common.h" 2
  3467. # 1 "/usr/include/inttypes.h" 1 3 4
  3468. # 28 "/usr/include/inttypes.h" 3 4
  3469. # 1 "/usr/include/stdint.h" 1 3 4
  3470. # 27 "/usr/include/stdint.h" 3 4
  3471. # 1 "/usr/include/bits/wchar.h" 1 3 4
  3472. # 28 "/usr/include/stdint.h" 2 3 4
  3473. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  3474. # 29 "/usr/include/stdint.h" 2 3 4
  3475. # 49 "/usr/include/stdint.h" 3 4
  3476. typedef unsigned char uint8_t;
  3477. typedef unsigned short int uint16_t;
  3478.  
  3479. typedef unsigned int uint32_t;
  3480.  
  3481.  
  3482.  
  3483. typedef unsigned long int uint64_t;
  3484. # 66 "/usr/include/stdint.h" 3 4
  3485. typedef signed char int_least8_t;
  3486. typedef short int int_least16_t;
  3487. typedef int int_least32_t;
  3488.  
  3489. typedef long int int_least64_t;
  3490.  
  3491.  
  3492.  
  3493.  
  3494.  
  3495.  
  3496. typedef unsigned char uint_least8_t;
  3497. typedef unsigned short int uint_least16_t;
  3498. typedef unsigned int uint_least32_t;
  3499.  
  3500. typedef unsigned long int uint_least64_t;
  3501. # 91 "/usr/include/stdint.h" 3 4
  3502. typedef signed char int_fast8_t;
  3503.  
  3504. typedef long int int_fast16_t;
  3505. typedef long int int_fast32_t;
  3506. typedef long int int_fast64_t;
  3507. # 104 "/usr/include/stdint.h" 3 4
  3508. typedef unsigned char uint_fast8_t;
  3509.  
  3510. typedef unsigned long int uint_fast16_t;
  3511. typedef unsigned long int uint_fast32_t;
  3512. typedef unsigned long int uint_fast64_t;
  3513. # 120 "/usr/include/stdint.h" 3 4
  3514. typedef long int intptr_t;
  3515.  
  3516.  
  3517. typedef unsigned long int uintptr_t;
  3518. # 135 "/usr/include/stdint.h" 3 4
  3519. typedef long int intmax_t;
  3520. typedef unsigned long int uintmax_t;
  3521. # 29 "/usr/include/inttypes.h" 2 3 4
  3522.  
  3523.  
  3524.  
  3525.  
  3526.  
  3527.  
  3528. typedef int __gwchar_t;
  3529. # 274 "/usr/include/inttypes.h" 3 4
  3530.  
  3531.  
  3532.  
  3533.  
  3534.  
  3535. typedef struct
  3536. {
  3537. long int quot;
  3538. long int rem;
  3539. } imaxdiv_t;
  3540. # 298 "/usr/include/inttypes.h" 3 4
  3541. extern intmax_t imaxabs (intmax_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
  3542.  
  3543.  
  3544. extern imaxdiv_t imaxdiv (intmax_t __numer, intmax_t __denom)
  3545. __attribute__ ((__nothrow__)) __attribute__ ((__const__));
  3546.  
  3547.  
  3548. extern intmax_t strtoimax (__const char *__restrict __nptr,
  3549. char **__restrict __endptr, int __base) __attribute__ ((__nothrow__));
  3550.  
  3551.  
  3552. extern uintmax_t strtoumax (__const char *__restrict __nptr,
  3553. char ** __restrict __endptr, int __base) __attribute__ ((__nothrow__));
  3554.  
  3555.  
  3556. extern intmax_t wcstoimax (__const __gwchar_t *__restrict __nptr,
  3557. __gwchar_t **__restrict __endptr, int __base)
  3558. __attribute__ ((__nothrow__));
  3559.  
  3560.  
  3561. extern uintmax_t wcstoumax (__const __gwchar_t *__restrict __nptr,
  3562. __gwchar_t ** __restrict __endptr, int __base)
  3563. __attribute__ ((__nothrow__));
  3564.  
  3565.  
  3566.  
  3567.  
  3568.  
  3569. extern long int __strtol_internal (__const char *__restrict __nptr,
  3570. char **__restrict __endptr,
  3571. int __base, int __group)
  3572. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  3573.  
  3574. extern __inline intmax_t
  3575. __attribute__ ((__nothrow__)) strtoimax (__const char *__restrict nptr, char **__restrict endptr, int base)
  3576.  
  3577. {
  3578. return __strtol_internal (nptr, endptr, base, 0);
  3579. }
  3580.  
  3581. extern unsigned long int __strtoul_internal (__const char *
  3582. __restrict __nptr,
  3583. char ** __restrict __endptr,
  3584. int __base, int __group)
  3585. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  3586.  
  3587. extern __inline uintmax_t
  3588. __attribute__ ((__nothrow__)) strtoumax (__const char *__restrict nptr, char **__restrict endptr, int base)
  3589.  
  3590. {
  3591. return __strtoul_internal (nptr, endptr, base, 0);
  3592. }
  3593.  
  3594. extern long int __wcstol_internal (__const __gwchar_t * __restrict __nptr,
  3595. __gwchar_t **__restrict __endptr,
  3596. int __base, int __group)
  3597. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  3598.  
  3599. extern __inline intmax_t
  3600. __attribute__ ((__nothrow__)) wcstoimax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
  3601.  
  3602. {
  3603. return __wcstol_internal (nptr, endptr, base, 0);
  3604. }
  3605.  
  3606. extern unsigned long int __wcstoul_internal (__const __gwchar_t *
  3607. __restrict __nptr,
  3608. __gwchar_t **
  3609. __restrict __endptr,
  3610. int __base, int __group)
  3611. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  3612.  
  3613. extern __inline uintmax_t
  3614. __attribute__ ((__nothrow__)) wcstoumax (__const __gwchar_t *__restrict nptr, __gwchar_t **__restrict endptr, int base)
  3615.  
  3616. {
  3617. return __wcstoul_internal (nptr, endptr, base, 0);
  3618. }
  3619. # 442 "/usr/include/inttypes.h" 3 4
  3620.  
  3621. # 26 "./qemu-common.h" 2
  3622. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed/limits.h" 1 3 4
  3623. # 11 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed/limits.h" 3 4
  3624. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed/syslimits.h" 1 3 4
  3625.  
  3626.  
  3627.  
  3628.  
  3629.  
  3630.  
  3631. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed/limits.h" 1 3 4
  3632. # 122 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed/limits.h" 3 4
  3633. # 1 "/usr/include/limits.h" 1 3 4
  3634. # 145 "/usr/include/limits.h" 3 4
  3635. # 1 "/usr/include/bits/posix1_lim.h" 1 3 4
  3636. # 157 "/usr/include/bits/posix1_lim.h" 3 4
  3637. # 1 "/usr/include/bits/local_lim.h" 1 3 4
  3638. # 39 "/usr/include/bits/local_lim.h" 3 4
  3639. # 1 "/usr/include/linux/limits.h" 1 3 4
  3640. # 40 "/usr/include/bits/local_lim.h" 2 3 4
  3641. # 158 "/usr/include/bits/posix1_lim.h" 2 3 4
  3642. # 146 "/usr/include/limits.h" 2 3 4
  3643.  
  3644.  
  3645.  
  3646. # 1 "/usr/include/bits/posix2_lim.h" 1 3 4
  3647. # 150 "/usr/include/limits.h" 2 3 4
  3648.  
  3649.  
  3650.  
  3651. # 1 "/usr/include/bits/xopen_lim.h" 1 3 4
  3652. # 34 "/usr/include/bits/xopen_lim.h" 3 4
  3653. # 1 "/usr/include/bits/stdio_lim.h" 1 3 4
  3654. # 35 "/usr/include/bits/xopen_lim.h" 2 3 4
  3655. # 154 "/usr/include/limits.h" 2 3 4
  3656. # 123 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed/limits.h" 2 3 4
  3657. # 8 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed/syslimits.h" 2 3 4
  3658. # 12 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include-fixed/limits.h" 2 3 4
  3659. # 27 "./qemu-common.h" 2
  3660. # 1 "/usr/include/time.h" 1 3 4
  3661. # 30 "/usr/include/time.h" 3 4
  3662.  
  3663.  
  3664.  
  3665.  
  3666.  
  3667.  
  3668.  
  3669.  
  3670. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 1 3 4
  3671. # 39 "/usr/include/time.h" 2 3 4
  3672.  
  3673.  
  3674.  
  3675. # 1 "/usr/include/bits/time.h" 1 3 4
  3676. # 43 "/usr/include/time.h" 2 3 4
  3677. # 131 "/usr/include/time.h" 3 4
  3678.  
  3679.  
  3680. struct tm
  3681. {
  3682. int tm_sec;
  3683. int tm_min;
  3684. int tm_hour;
  3685. int tm_mday;
  3686. int tm_mon;
  3687. int tm_year;
  3688. int tm_wday;
  3689. int tm_yday;
  3690. int tm_isdst;
  3691.  
  3692.  
  3693. long int tm_gmtoff;
  3694. __const char *tm_zone;
  3695.  
  3696.  
  3697.  
  3698.  
  3699. };
  3700.  
  3701.  
  3702.  
  3703.  
  3704.  
  3705.  
  3706.  
  3707.  
  3708. struct itimerspec
  3709. {
  3710. struct timespec it_interval;
  3711. struct timespec it_value;
  3712. };
  3713.  
  3714.  
  3715. struct sigevent;
  3716. # 180 "/usr/include/time.h" 3 4
  3717.  
  3718.  
  3719.  
  3720. extern clock_t clock (void) __attribute__ ((__nothrow__));
  3721.  
  3722.  
  3723. extern time_t time (time_t *__timer) __attribute__ ((__nothrow__));
  3724.  
  3725.  
  3726. extern double difftime (time_t __time1, time_t __time0)
  3727. __attribute__ ((__nothrow__)) __attribute__ ((__const__));
  3728.  
  3729.  
  3730. extern time_t mktime (struct tm *__tp) __attribute__ ((__nothrow__));
  3731.  
  3732.  
  3733.  
  3734.  
  3735.  
  3736. extern size_t strftime (char *__restrict __s, size_t __maxsize,
  3737. __const char *__restrict __format,
  3738. __const struct tm *__restrict __tp) __attribute__ ((__nothrow__));
  3739.  
  3740.  
  3741.  
  3742.  
  3743.  
  3744. extern char *strptime (__const char *__restrict __s,
  3745. __const char *__restrict __fmt, struct tm *__tp)
  3746. __attribute__ ((__nothrow__));
  3747.  
  3748.  
  3749.  
  3750.  
  3751.  
  3752.  
  3753.  
  3754. extern size_t strftime_l (char *__restrict __s, size_t __maxsize,
  3755. __const char *__restrict __format,
  3756. __const struct tm *__restrict __tp,
  3757. __locale_t __loc) __attribute__ ((__nothrow__));
  3758.  
  3759.  
  3760.  
  3761. extern char *strptime_l (__const char *__restrict __s,
  3762. __const char *__restrict __fmt, struct tm *__tp,
  3763. __locale_t __loc) __attribute__ ((__nothrow__));
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769.  
  3770. extern struct tm *gmtime (__const time_t *__timer) __attribute__ ((__nothrow__));
  3771.  
  3772.  
  3773.  
  3774. extern struct tm *localtime (__const time_t *__timer) __attribute__ ((__nothrow__));
  3775.  
  3776.  
  3777.  
  3778.  
  3779.  
  3780. extern struct tm *gmtime_r (__const time_t *__restrict __timer,
  3781. struct tm *__restrict __tp) __attribute__ ((__nothrow__));
  3782.  
  3783.  
  3784.  
  3785. extern struct tm *localtime_r (__const time_t *__restrict __timer,
  3786. struct tm *__restrict __tp) __attribute__ ((__nothrow__));
  3787.  
  3788.  
  3789.  
  3790.  
  3791.  
  3792. extern char *asctime (__const struct tm *__tp) __attribute__ ((__nothrow__));
  3793.  
  3794.  
  3795. extern char *ctime (__const time_t *__timer) __attribute__ ((__nothrow__));
  3796.  
  3797.  
  3798.  
  3799.  
  3800.  
  3801.  
  3802.  
  3803. extern char *asctime_r (__const struct tm *__restrict __tp,
  3804. char *__restrict __buf) __attribute__ ((__nothrow__));
  3805.  
  3806.  
  3807. extern char *ctime_r (__const time_t *__restrict __timer,
  3808. char *__restrict __buf) __attribute__ ((__nothrow__));
  3809.  
  3810.  
  3811.  
  3812.  
  3813. extern char *__tzname[2];
  3814. extern int __daylight;
  3815. extern long int __timezone;
  3816.  
  3817.  
  3818.  
  3819.  
  3820. extern char *tzname[2];
  3821.  
  3822.  
  3823.  
  3824. extern void tzset (void) __attribute__ ((__nothrow__));
  3825.  
  3826.  
  3827.  
  3828. extern int daylight;
  3829. extern long int timezone;
  3830.  
  3831.  
  3832.  
  3833.  
  3834.  
  3835. extern int stime (__const time_t *__when) __attribute__ ((__nothrow__));
  3836. # 313 "/usr/include/time.h" 3 4
  3837. extern time_t timegm (struct tm *__tp) __attribute__ ((__nothrow__));
  3838.  
  3839.  
  3840. extern time_t timelocal (struct tm *__tp) __attribute__ ((__nothrow__));
  3841.  
  3842.  
  3843. extern int dysize (int __year) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
  3844. # 328 "/usr/include/time.h" 3 4
  3845. extern int nanosleep (__const struct timespec *__requested_time,
  3846. struct timespec *__remaining);
  3847.  
  3848.  
  3849.  
  3850. extern int clock_getres (clockid_t __clock_id, struct timespec *__res) __attribute__ ((__nothrow__));
  3851.  
  3852.  
  3853. extern int clock_gettime (clockid_t __clock_id, struct timespec *__tp) __attribute__ ((__nothrow__));
  3854.  
  3855.  
  3856. extern int clock_settime (clockid_t __clock_id, __const struct timespec *__tp)
  3857. __attribute__ ((__nothrow__));
  3858.  
  3859.  
  3860.  
  3861.  
  3862.  
  3863.  
  3864. extern int clock_nanosleep (clockid_t __clock_id, int __flags,
  3865. __const struct timespec *__req,
  3866. struct timespec *__rem);
  3867.  
  3868.  
  3869. extern int clock_getcpuclockid (pid_t __pid, clockid_t *__clock_id) __attribute__ ((__nothrow__));
  3870.  
  3871.  
  3872.  
  3873.  
  3874. extern int timer_create (clockid_t __clock_id,
  3875. struct sigevent *__restrict __evp,
  3876. timer_t *__restrict __timerid) __attribute__ ((__nothrow__));
  3877.  
  3878.  
  3879. extern int timer_delete (timer_t __timerid) __attribute__ ((__nothrow__));
  3880.  
  3881.  
  3882. extern int timer_settime (timer_t __timerid, int __flags,
  3883. __const struct itimerspec *__restrict __value,
  3884. struct itimerspec *__restrict __ovalue) __attribute__ ((__nothrow__));
  3885.  
  3886.  
  3887. extern int timer_gettime (timer_t __timerid, struct itimerspec *__value)
  3888. __attribute__ ((__nothrow__));
  3889.  
  3890.  
  3891. extern int timer_getoverrun (timer_t __timerid) __attribute__ ((__nothrow__));
  3892. # 390 "/usr/include/time.h" 3 4
  3893. extern int getdate_err;
  3894. # 399 "/usr/include/time.h" 3 4
  3895. extern struct tm *getdate (__const char *__string);
  3896. # 413 "/usr/include/time.h" 3 4
  3897. extern int getdate_r (__const char *__restrict __string,
  3898. struct tm *__restrict __resbufp);
  3899.  
  3900.  
  3901.  
  3902. # 28 "./qemu-common.h" 2
  3903. # 1 "/usr/include/ctype.h" 1 3 4
  3904. # 30 "/usr/include/ctype.h" 3 4
  3905.  
  3906. # 48 "/usr/include/ctype.h" 3 4
  3907. enum
  3908. {
  3909. _ISupper = ((0) < 8 ? ((1 << (0)) << 8) : ((1 << (0)) >> 8)),
  3910. _ISlower = ((1) < 8 ? ((1 << (1)) << 8) : ((1 << (1)) >> 8)),
  3911. _ISalpha = ((2) < 8 ? ((1 << (2)) << 8) : ((1 << (2)) >> 8)),
  3912. _ISdigit = ((3) < 8 ? ((1 << (3)) << 8) : ((1 << (3)) >> 8)),
  3913. _ISxdigit = ((4) < 8 ? ((1 << (4)) << 8) : ((1 << (4)) >> 8)),
  3914. _ISspace = ((5) < 8 ? ((1 << (5)) << 8) : ((1 << (5)) >> 8)),
  3915. _ISprint = ((6) < 8 ? ((1 << (6)) << 8) : ((1 << (6)) >> 8)),
  3916. _ISgraph = ((7) < 8 ? ((1 << (7)) << 8) : ((1 << (7)) >> 8)),
  3917. _ISblank = ((8) < 8 ? ((1 << (8)) << 8) : ((1 << (8)) >> 8)),
  3918. _IScntrl = ((9) < 8 ? ((1 << (9)) << 8) : ((1 << (9)) >> 8)),
  3919. _ISpunct = ((10) < 8 ? ((1 << (10)) << 8) : ((1 << (10)) >> 8)),
  3920. _ISalnum = ((11) < 8 ? ((1 << (11)) << 8) : ((1 << (11)) >> 8))
  3921. };
  3922. # 81 "/usr/include/ctype.h" 3 4
  3923. extern __const unsigned short int **__ctype_b_loc (void)
  3924. __attribute__ ((__nothrow__)) __attribute__ ((__const));
  3925. extern __const __int32_t **__ctype_tolower_loc (void)
  3926. __attribute__ ((__nothrow__)) __attribute__ ((__const));
  3927. extern __const __int32_t **__ctype_toupper_loc (void)
  3928. __attribute__ ((__nothrow__)) __attribute__ ((__const));
  3929. # 96 "/usr/include/ctype.h" 3 4
  3930.  
  3931.  
  3932.  
  3933.  
  3934.  
  3935.  
  3936. extern int isalnum (int) __attribute__ ((__nothrow__));
  3937. extern int isalpha (int) __attribute__ ((__nothrow__));
  3938. extern int iscntrl (int) __attribute__ ((__nothrow__));
  3939. extern int isdigit (int) __attribute__ ((__nothrow__));
  3940. extern int islower (int) __attribute__ ((__nothrow__));
  3941. extern int isgraph (int) __attribute__ ((__nothrow__));
  3942. extern int isprint (int) __attribute__ ((__nothrow__));
  3943. extern int ispunct (int) __attribute__ ((__nothrow__));
  3944. extern int isspace (int) __attribute__ ((__nothrow__));
  3945. extern int isupper (int) __attribute__ ((__nothrow__));
  3946. extern int isxdigit (int) __attribute__ ((__nothrow__));
  3947.  
  3948.  
  3949.  
  3950. extern int tolower (int __c) __attribute__ ((__nothrow__));
  3951.  
  3952.  
  3953. extern int toupper (int __c) __attribute__ ((__nothrow__));
  3954.  
  3955.  
  3956.  
  3957.  
  3958.  
  3959.  
  3960.  
  3961.  
  3962. extern int isblank (int) __attribute__ ((__nothrow__));
  3963.  
  3964.  
  3965.  
  3966.  
  3967.  
  3968.  
  3969. extern int isctype (int __c, int __mask) __attribute__ ((__nothrow__));
  3970.  
  3971.  
  3972.  
  3973.  
  3974.  
  3975.  
  3976. extern int isascii (int __c) __attribute__ ((__nothrow__));
  3977.  
  3978.  
  3979.  
  3980. extern int toascii (int __c) __attribute__ ((__nothrow__));
  3981.  
  3982.  
  3983.  
  3984. extern int _toupper (int) __attribute__ ((__nothrow__));
  3985. extern int _tolower (int) __attribute__ ((__nothrow__));
  3986. # 190 "/usr/include/ctype.h" 3 4
  3987. extern __inline int
  3988. __attribute__ ((__nothrow__)) tolower (int __c)
  3989. {
  3990. return __c >= -128 && __c < 256 ? (*__ctype_tolower_loc ())[__c] : __c;
  3991. }
  3992.  
  3993. extern __inline int
  3994. __attribute__ ((__nothrow__)) toupper (int __c)
  3995. {
  3996. return __c >= -128 && __c < 256 ? (*__ctype_toupper_loc ())[__c] : __c;
  3997. }
  3998. # 247 "/usr/include/ctype.h" 3 4
  3999. extern int isalnum_l (int, __locale_t) __attribute__ ((__nothrow__));
  4000. extern int isalpha_l (int, __locale_t) __attribute__ ((__nothrow__));
  4001. extern int iscntrl_l (int, __locale_t) __attribute__ ((__nothrow__));
  4002. extern int isdigit_l (int, __locale_t) __attribute__ ((__nothrow__));
  4003. extern int islower_l (int, __locale_t) __attribute__ ((__nothrow__));
  4004. extern int isgraph_l (int, __locale_t) __attribute__ ((__nothrow__));
  4005. extern int isprint_l (int, __locale_t) __attribute__ ((__nothrow__));
  4006. extern int ispunct_l (int, __locale_t) __attribute__ ((__nothrow__));
  4007. extern int isspace_l (int, __locale_t) __attribute__ ((__nothrow__));
  4008. extern int isupper_l (int, __locale_t) __attribute__ ((__nothrow__));
  4009. extern int isxdigit_l (int, __locale_t) __attribute__ ((__nothrow__));
  4010.  
  4011. extern int isblank_l (int, __locale_t) __attribute__ ((__nothrow__));
  4012.  
  4013.  
  4014.  
  4015. extern int __tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
  4016. extern int tolower_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
  4017.  
  4018.  
  4019. extern int __toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
  4020. extern int toupper_l (int __c, __locale_t __l) __attribute__ ((__nothrow__));
  4021. # 323 "/usr/include/ctype.h" 3 4
  4022.  
  4023. # 29 "./qemu-common.h" 2
  4024. # 1 "/usr/include/errno.h" 1 3 4
  4025. # 32 "/usr/include/errno.h" 3 4
  4026.  
  4027.  
  4028.  
  4029.  
  4030. # 1 "/usr/include/bits/errno.h" 1 3 4
  4031. # 25 "/usr/include/bits/errno.h" 3 4
  4032. # 1 "/usr/include/linux/errno.h" 1 3 4
  4033.  
  4034.  
  4035.  
  4036. # 1 "/usr/include/asm/errno.h" 1 3 4
  4037. # 1 "/usr/include/asm-generic/errno.h" 1 3 4
  4038.  
  4039.  
  4040.  
  4041. # 1 "/usr/include/asm-generic/errno-base.h" 1 3 4
  4042. # 5 "/usr/include/asm-generic/errno.h" 2 3 4
  4043. # 1 "/usr/include/asm/errno.h" 2 3 4
  4044. # 5 "/usr/include/linux/errno.h" 2 3 4
  4045. # 26 "/usr/include/bits/errno.h" 2 3 4
  4046. # 47 "/usr/include/bits/errno.h" 3 4
  4047. extern int *__errno_location (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
  4048. # 37 "/usr/include/errno.h" 2 3 4
  4049. # 55 "/usr/include/errno.h" 3 4
  4050. extern char *program_invocation_name, *program_invocation_short_name;
  4051.  
  4052.  
  4053.  
  4054.  
  4055. # 69 "/usr/include/errno.h" 3 4
  4056. typedef int error_t;
  4057. # 30 "./qemu-common.h" 2
  4058. # 1 "/usr/include/unistd.h" 1 3 4
  4059. # 28 "/usr/include/unistd.h" 3 4
  4060.  
  4061. # 203 "/usr/include/unistd.h" 3 4
  4062. # 1 "/usr/include/bits/posix_opt.h" 1 3 4
  4063. # 204 "/usr/include/unistd.h" 2 3 4
  4064.  
  4065.  
  4066.  
  4067. # 1 "/usr/include/bits/environments.h" 1 3 4
  4068. # 23 "/usr/include/bits/environments.h" 3 4
  4069. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  4070. # 24 "/usr/include/bits/environments.h" 2 3 4
  4071. # 208 "/usr/include/unistd.h" 2 3 4
  4072. # 227 "/usr/include/unistd.h" 3 4
  4073. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 1 3 4
  4074. # 228 "/usr/include/unistd.h" 2 3 4
  4075. # 275 "/usr/include/unistd.h" 3 4
  4076. typedef __socklen_t socklen_t;
  4077. # 288 "/usr/include/unistd.h" 3 4
  4078. extern int access (__const char *__name, int __type) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  4079.  
  4080.  
  4081.  
  4082.  
  4083. extern int euidaccess (__const char *__name, int __type)
  4084. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  4085.  
  4086.  
  4087. extern int eaccess (__const char *__name, int __type)
  4088. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  4089.  
  4090.  
  4091.  
  4092.  
  4093.  
  4094.  
  4095. extern int faccessat (int __fd, __const char *__file, int __type, int __flag)
  4096. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
  4097. # 334 "/usr/include/unistd.h" 3 4
  4098. extern __off64_t lseek (int __fd, __off64_t __offset, int __whence) __asm__ ("" "lseek64") __attribute__ ((__nothrow__));
  4099.  
  4100.  
  4101.  
  4102.  
  4103.  
  4104.  
  4105.  
  4106. extern __off64_t lseek64 (int __fd, __off64_t __offset, int __whence)
  4107. __attribute__ ((__nothrow__));
  4108.  
  4109.  
  4110.  
  4111.  
  4112.  
  4113.  
  4114. extern int close (int __fd);
  4115.  
  4116.  
  4117.  
  4118.  
  4119.  
  4120.  
  4121. extern ssize_t read (int __fd, void *__buf, size_t __nbytes) __attribute__ ((__warn_unused_result__));
  4122.  
  4123.  
  4124.  
  4125.  
  4126.  
  4127. extern ssize_t write (int __fd, __const void *__buf, size_t __n) __attribute__ ((__warn_unused_result__));
  4128. # 385 "/usr/include/unistd.h" 3 4
  4129. extern ssize_t pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") __attribute__ ((__warn_unused_result__));
  4130.  
  4131.  
  4132. extern ssize_t pwrite (int __fd, __const void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pwrite64") __attribute__ ((__warn_unused_result__));
  4133. # 401 "/usr/include/unistd.h" 3 4
  4134. extern ssize_t pread64 (int __fd, void *__buf, size_t __nbytes,
  4135. __off64_t __offset) __attribute__ ((__warn_unused_result__));
  4136.  
  4137.  
  4138. extern ssize_t pwrite64 (int __fd, __const void *__buf, size_t __n,
  4139. __off64_t __offset) __attribute__ ((__warn_unused_result__));
  4140.  
  4141.  
  4142.  
  4143.  
  4144.  
  4145.  
  4146.  
  4147. extern int pipe (int __pipedes[2]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  4148.  
  4149.  
  4150.  
  4151.  
  4152. extern int pipe2 (int __pipedes[2], int __flags) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  4153. # 429 "/usr/include/unistd.h" 3 4
  4154. extern unsigned int alarm (unsigned int __seconds) __attribute__ ((__nothrow__));
  4155. # 441 "/usr/include/unistd.h" 3 4
  4156. extern unsigned int sleep (unsigned int __seconds);
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164. extern __useconds_t ualarm (__useconds_t __value, __useconds_t __interval)
  4165. __attribute__ ((__nothrow__));
  4166.  
  4167.  
  4168.  
  4169.  
  4170.  
  4171.  
  4172. extern int usleep (__useconds_t __useconds);
  4173. # 466 "/usr/include/unistd.h" 3 4
  4174. extern int pause (void);
  4175.  
  4176.  
  4177.  
  4178. extern int chown (__const char *__file, __uid_t __owner, __gid_t __group)
  4179. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  4180.  
  4181.  
  4182.  
  4183. extern int fchown (int __fd, __uid_t __owner, __gid_t __group) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  4184.  
  4185.  
  4186.  
  4187.  
  4188. extern int lchown (__const char *__file, __uid_t __owner, __gid_t __group)
  4189. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  4190.  
  4191.  
  4192.  
  4193.  
  4194.  
  4195.  
  4196. extern int fchownat (int __fd, __const char *__file, __uid_t __owner,
  4197. __gid_t __group, int __flag)
  4198. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
  4199.  
  4200.  
  4201.  
  4202. extern int chdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  4203.  
  4204.  
  4205.  
  4206. extern int fchdir (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  4207. # 508 "/usr/include/unistd.h" 3 4
  4208. extern char *getcwd (char *__buf, size_t __size) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  4209.  
  4210.  
  4211.  
  4212.  
  4213.  
  4214. extern char *get_current_dir_name (void) __attribute__ ((__nothrow__));
  4215.  
  4216.  
  4217.  
  4218.  
  4219.  
  4220.  
  4221.  
  4222. extern char *getwd (char *__buf)
  4223. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__));
  4224.  
  4225.  
  4226.  
  4227.  
  4228. extern int dup (int __fd) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  4229.  
  4230.  
  4231. extern int dup2 (int __fd, int __fd2) __attribute__ ((__nothrow__));
  4232.  
  4233.  
  4234.  
  4235.  
  4236. extern int dup3 (int __fd, int __fd2, int __flags) __attribute__ ((__nothrow__));
  4237.  
  4238.  
  4239.  
  4240. extern char **__environ;
  4241.  
  4242. extern char **environ;
  4243.  
  4244.  
  4245.  
  4246.  
  4247.  
  4248. extern int execve (__const char *__path, char *__const __argv[],
  4249. char *__const __envp[]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  4250.  
  4251.  
  4252.  
  4253.  
  4254. extern int fexecve (int __fd, char *__const __argv[], char *__const __envp[])
  4255. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  4256.  
  4257.  
  4258.  
  4259.  
  4260. extern int execv (__const char *__path, char *__const __argv[])
  4261. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  4262.  
  4263.  
  4264.  
  4265. extern int execle (__const char *__path, __const char *__arg, ...)
  4266. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  4267.  
  4268.  
  4269.  
  4270. extern int execl (__const char *__path, __const char *__arg, ...)
  4271. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  4272.  
  4273.  
  4274.  
  4275. extern int execvp (__const char *__file, char *__const __argv[])
  4276. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  4277.  
  4278.  
  4279.  
  4280.  
  4281. extern int execlp (__const char *__file, __const char *__arg, ...)
  4282. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  4283.  
  4284.  
  4285.  
  4286.  
  4287. extern int execvpe (__const char *__file, char *__const __argv[],
  4288. char *__const __envp[])
  4289. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  4290.  
  4291.  
  4292.  
  4293.  
  4294.  
  4295. extern int nice (int __inc) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  4296.  
  4297.  
  4298.  
  4299.  
  4300. extern void _exit (int __status) __attribute__ ((__noreturn__));
  4301.  
  4302.  
  4303.  
  4304.  
  4305.  
  4306. # 1 "/usr/include/bits/confname.h" 1 3 4
  4307. # 26 "/usr/include/bits/confname.h" 3 4
  4308. enum
  4309. {
  4310. _PC_LINK_MAX,
  4311.  
  4312. _PC_MAX_CANON,
  4313.  
  4314. _PC_MAX_INPUT,
  4315.  
  4316. _PC_NAME_MAX,
  4317.  
  4318. _PC_PATH_MAX,
  4319.  
  4320. _PC_PIPE_BUF,
  4321.  
  4322. _PC_CHOWN_RESTRICTED,
  4323.  
  4324. _PC_NO_TRUNC,
  4325.  
  4326. _PC_VDISABLE,
  4327.  
  4328. _PC_SYNC_IO,
  4329.  
  4330. _PC_ASYNC_IO,
  4331.  
  4332. _PC_PRIO_IO,
  4333.  
  4334. _PC_SOCK_MAXBUF,
  4335.  
  4336. _PC_FILESIZEBITS,
  4337.  
  4338. _PC_REC_INCR_XFER_SIZE,
  4339.  
  4340. _PC_REC_MAX_XFER_SIZE,
  4341.  
  4342. _PC_REC_MIN_XFER_SIZE,
  4343.  
  4344. _PC_REC_XFER_ALIGN,
  4345.  
  4346. _PC_ALLOC_SIZE_MIN,
  4347.  
  4348. _PC_SYMLINK_MAX,
  4349.  
  4350. _PC_2_SYMLINKS
  4351.  
  4352. };
  4353.  
  4354.  
  4355. enum
  4356. {
  4357. _SC_ARG_MAX,
  4358.  
  4359. _SC_CHILD_MAX,
  4360.  
  4361. _SC_CLK_TCK,
  4362.  
  4363. _SC_NGROUPS_MAX,
  4364.  
  4365. _SC_OPEN_MAX,
  4366.  
  4367. _SC_STREAM_MAX,
  4368.  
  4369. _SC_TZNAME_MAX,
  4370.  
  4371. _SC_JOB_CONTROL,
  4372.  
  4373. _SC_SAVED_IDS,
  4374.  
  4375. _SC_REALTIME_SIGNALS,
  4376.  
  4377. _SC_PRIORITY_SCHEDULING,
  4378.  
  4379. _SC_TIMERS,
  4380.  
  4381. _SC_ASYNCHRONOUS_IO,
  4382.  
  4383. _SC_PRIORITIZED_IO,
  4384.  
  4385. _SC_SYNCHRONIZED_IO,
  4386.  
  4387. _SC_FSYNC,
  4388.  
  4389. _SC_MAPPED_FILES,
  4390.  
  4391. _SC_MEMLOCK,
  4392.  
  4393. _SC_MEMLOCK_RANGE,
  4394.  
  4395. _SC_MEMORY_PROTECTION,
  4396.  
  4397. _SC_MESSAGE_PASSING,
  4398.  
  4399. _SC_SEMAPHORES,
  4400.  
  4401. _SC_SHARED_MEMORY_OBJECTS,
  4402.  
  4403. _SC_AIO_LISTIO_MAX,
  4404.  
  4405. _SC_AIO_MAX,
  4406.  
  4407. _SC_AIO_PRIO_DELTA_MAX,
  4408.  
  4409. _SC_DELAYTIMER_MAX,
  4410.  
  4411. _SC_MQ_OPEN_MAX,
  4412.  
  4413. _SC_MQ_PRIO_MAX,
  4414.  
  4415. _SC_VERSION,
  4416.  
  4417. _SC_PAGESIZE,
  4418.  
  4419.  
  4420. _SC_RTSIG_MAX,
  4421.  
  4422. _SC_SEM_NSEMS_MAX,
  4423.  
  4424. _SC_SEM_VALUE_MAX,
  4425.  
  4426. _SC_SIGQUEUE_MAX,
  4427.  
  4428. _SC_TIMER_MAX,
  4429.  
  4430.  
  4431.  
  4432.  
  4433. _SC_BC_BASE_MAX,
  4434.  
  4435. _SC_BC_DIM_MAX,
  4436.  
  4437. _SC_BC_SCALE_MAX,
  4438.  
  4439. _SC_BC_STRING_MAX,
  4440.  
  4441. _SC_COLL_WEIGHTS_MAX,
  4442.  
  4443. _SC_EQUIV_CLASS_MAX,
  4444.  
  4445. _SC_EXPR_NEST_MAX,
  4446.  
  4447. _SC_LINE_MAX,
  4448.  
  4449. _SC_RE_DUP_MAX,
  4450.  
  4451. _SC_CHARCLASS_NAME_MAX,
  4452.  
  4453.  
  4454. _SC_2_VERSION,
  4455.  
  4456. _SC_2_C_BIND,
  4457.  
  4458. _SC_2_C_DEV,
  4459.  
  4460. _SC_2_FORT_DEV,
  4461.  
  4462. _SC_2_FORT_RUN,
  4463.  
  4464. _SC_2_SW_DEV,
  4465.  
  4466. _SC_2_LOCALEDEF,
  4467.  
  4468.  
  4469. _SC_PII,
  4470.  
  4471. _SC_PII_XTI,
  4472.  
  4473. _SC_PII_SOCKET,
  4474.  
  4475. _SC_PII_INTERNET,
  4476.  
  4477. _SC_PII_OSI,
  4478.  
  4479. _SC_POLL,
  4480.  
  4481. _SC_SELECT,
  4482.  
  4483. _SC_UIO_MAXIOV,
  4484.  
  4485. _SC_IOV_MAX = _SC_UIO_MAXIOV,
  4486.  
  4487. _SC_PII_INTERNET_STREAM,
  4488.  
  4489. _SC_PII_INTERNET_DGRAM,
  4490.  
  4491. _SC_PII_OSI_COTS,
  4492.  
  4493. _SC_PII_OSI_CLTS,
  4494.  
  4495. _SC_PII_OSI_M,
  4496.  
  4497. _SC_T_IOV_MAX,
  4498.  
  4499.  
  4500.  
  4501. _SC_THREADS,
  4502.  
  4503. _SC_THREAD_SAFE_FUNCTIONS,
  4504.  
  4505. _SC_GETGR_R_SIZE_MAX,
  4506.  
  4507. _SC_GETPW_R_SIZE_MAX,
  4508.  
  4509. _SC_LOGIN_NAME_MAX,
  4510.  
  4511. _SC_TTY_NAME_MAX,
  4512.  
  4513. _SC_THREAD_DESTRUCTOR_ITERATIONS,
  4514.  
  4515. _SC_THREAD_KEYS_MAX,
  4516.  
  4517. _SC_THREAD_STACK_MIN,
  4518.  
  4519. _SC_THREAD_THREADS_MAX,
  4520.  
  4521. _SC_THREAD_ATTR_STACKADDR,
  4522.  
  4523. _SC_THREAD_ATTR_STACKSIZE,
  4524.  
  4525. _SC_THREAD_PRIORITY_SCHEDULING,
  4526.  
  4527. _SC_THREAD_PRIO_INHERIT,
  4528.  
  4529. _SC_THREAD_PRIO_PROTECT,
  4530.  
  4531. _SC_THREAD_PROCESS_SHARED,
  4532.  
  4533.  
  4534. _SC_NPROCESSORS_CONF,
  4535.  
  4536. _SC_NPROCESSORS_ONLN,
  4537.  
  4538. _SC_PHYS_PAGES,
  4539.  
  4540. _SC_AVPHYS_PAGES,
  4541.  
  4542. _SC_ATEXIT_MAX,
  4543.  
  4544. _SC_PASS_MAX,
  4545.  
  4546.  
  4547. _SC_XOPEN_VERSION,
  4548.  
  4549. _SC_XOPEN_XCU_VERSION,
  4550.  
  4551. _SC_XOPEN_UNIX,
  4552.  
  4553. _SC_XOPEN_CRYPT,
  4554.  
  4555. _SC_XOPEN_ENH_I18N,
  4556.  
  4557. _SC_XOPEN_SHM,
  4558.  
  4559.  
  4560. _SC_2_CHAR_TERM,
  4561.  
  4562. _SC_2_C_VERSION,
  4563.  
  4564. _SC_2_UPE,
  4565.  
  4566.  
  4567. _SC_XOPEN_XPG2,
  4568.  
  4569. _SC_XOPEN_XPG3,
  4570.  
  4571. _SC_XOPEN_XPG4,
  4572.  
  4573.  
  4574. _SC_CHAR_BIT,
  4575.  
  4576. _SC_CHAR_MAX,
  4577.  
  4578. _SC_CHAR_MIN,
  4579.  
  4580. _SC_INT_MAX,
  4581.  
  4582. _SC_INT_MIN,
  4583.  
  4584. _SC_LONG_BIT,
  4585.  
  4586. _SC_WORD_BIT,
  4587.  
  4588. _SC_MB_LEN_MAX,
  4589.  
  4590. _SC_NZERO,
  4591.  
  4592. _SC_SSIZE_MAX,
  4593.  
  4594. _SC_SCHAR_MAX,
  4595.  
  4596. _SC_SCHAR_MIN,
  4597.  
  4598. _SC_SHRT_MAX,
  4599.  
  4600. _SC_SHRT_MIN,
  4601.  
  4602. _SC_UCHAR_MAX,
  4603.  
  4604. _SC_UINT_MAX,
  4605.  
  4606. _SC_ULONG_MAX,
  4607.  
  4608. _SC_USHRT_MAX,
  4609.  
  4610.  
  4611. _SC_NL_ARGMAX,
  4612.  
  4613. _SC_NL_LANGMAX,
  4614.  
  4615. _SC_NL_MSGMAX,
  4616.  
  4617. _SC_NL_NMAX,
  4618.  
  4619. _SC_NL_SETMAX,
  4620.  
  4621. _SC_NL_TEXTMAX,
  4622.  
  4623.  
  4624. _SC_XBS5_ILP32_OFF32,
  4625.  
  4626. _SC_XBS5_ILP32_OFFBIG,
  4627.  
  4628. _SC_XBS5_LP64_OFF64,
  4629.  
  4630. _SC_XBS5_LPBIG_OFFBIG,
  4631.  
  4632.  
  4633. _SC_XOPEN_LEGACY,
  4634.  
  4635. _SC_XOPEN_REALTIME,
  4636.  
  4637. _SC_XOPEN_REALTIME_THREADS,
  4638.  
  4639.  
  4640. _SC_ADVISORY_INFO,
  4641.  
  4642. _SC_BARRIERS,
  4643.  
  4644. _SC_BASE,
  4645.  
  4646. _SC_C_LANG_SUPPORT,
  4647.  
  4648. _SC_C_LANG_SUPPORT_R,
  4649.  
  4650. _SC_CLOCK_SELECTION,
  4651.  
  4652. _SC_CPUTIME,
  4653.  
  4654. _SC_THREAD_CPUTIME,
  4655.  
  4656. _SC_DEVICE_IO,
  4657.  
  4658. _SC_DEVICE_SPECIFIC,
  4659.  
  4660. _SC_DEVICE_SPECIFIC_R,
  4661.  
  4662. _SC_FD_MGMT,
  4663.  
  4664. _SC_FIFO,
  4665.  
  4666. _SC_PIPE,
  4667.  
  4668. _SC_FILE_ATTRIBUTES,
  4669.  
  4670. _SC_FILE_LOCKING,
  4671.  
  4672. _SC_FILE_SYSTEM,
  4673.  
  4674. _SC_MONOTONIC_CLOCK,
  4675.  
  4676. _SC_MULTI_PROCESS,
  4677.  
  4678. _SC_SINGLE_PROCESS,
  4679.  
  4680. _SC_NETWORKING,
  4681.  
  4682. _SC_READER_WRITER_LOCKS,
  4683.  
  4684. _SC_SPIN_LOCKS,
  4685.  
  4686. _SC_REGEXP,
  4687.  
  4688. _SC_REGEX_VERSION,
  4689.  
  4690. _SC_SHELL,
  4691.  
  4692. _SC_SIGNALS,
  4693.  
  4694. _SC_SPAWN,
  4695.  
  4696. _SC_SPORADIC_SERVER,
  4697.  
  4698. _SC_THREAD_SPORADIC_SERVER,
  4699.  
  4700. _SC_SYSTEM_DATABASE,
  4701.  
  4702. _SC_SYSTEM_DATABASE_R,
  4703.  
  4704. _SC_TIMEOUTS,
  4705.  
  4706. _SC_TYPED_MEMORY_OBJECTS,
  4707.  
  4708. _SC_USER_GROUPS,
  4709.  
  4710. _SC_USER_GROUPS_R,
  4711.  
  4712. _SC_2_PBS,
  4713.  
  4714. _SC_2_PBS_ACCOUNTING,
  4715.  
  4716. _SC_2_PBS_LOCATE,
  4717.  
  4718. _SC_2_PBS_MESSAGE,
  4719.  
  4720. _SC_2_PBS_TRACK,
  4721.  
  4722. _SC_SYMLOOP_MAX,
  4723.  
  4724. _SC_STREAMS,
  4725.  
  4726. _SC_2_PBS_CHECKPOINT,
  4727.  
  4728.  
  4729. _SC_V6_ILP32_OFF32,
  4730.  
  4731. _SC_V6_ILP32_OFFBIG,
  4732.  
  4733. _SC_V6_LP64_OFF64,
  4734.  
  4735. _SC_V6_LPBIG_OFFBIG,
  4736.  
  4737.  
  4738. _SC_HOST_NAME_MAX,
  4739.  
  4740. _SC_TRACE,
  4741.  
  4742. _SC_TRACE_EVENT_FILTER,
  4743.  
  4744. _SC_TRACE_INHERIT,
  4745.  
  4746. _SC_TRACE_LOG,
  4747.  
  4748.  
  4749. _SC_LEVEL1_ICACHE_SIZE,
  4750.  
  4751. _SC_LEVEL1_ICACHE_ASSOC,
  4752.  
  4753. _SC_LEVEL1_ICACHE_LINESIZE,
  4754.  
  4755. _SC_LEVEL1_DCACHE_SIZE,
  4756.  
  4757. _SC_LEVEL1_DCACHE_ASSOC,
  4758.  
  4759. _SC_LEVEL1_DCACHE_LINESIZE,
  4760.  
  4761. _SC_LEVEL2_CACHE_SIZE,
  4762.  
  4763. _SC_LEVEL2_CACHE_ASSOC,
  4764.  
  4765. _SC_LEVEL2_CACHE_LINESIZE,
  4766.  
  4767. _SC_LEVEL3_CACHE_SIZE,
  4768.  
  4769. _SC_LEVEL3_CACHE_ASSOC,
  4770.  
  4771. _SC_LEVEL3_CACHE_LINESIZE,
  4772.  
  4773. _SC_LEVEL4_CACHE_SIZE,
  4774.  
  4775. _SC_LEVEL4_CACHE_ASSOC,
  4776.  
  4777. _SC_LEVEL4_CACHE_LINESIZE,
  4778.  
  4779.  
  4780.  
  4781. _SC_IPV6 = _SC_LEVEL1_ICACHE_SIZE + 50,
  4782.  
  4783. _SC_RAW_SOCKETS,
  4784.  
  4785.  
  4786. _SC_V7_ILP32_OFF32,
  4787.  
  4788. _SC_V7_ILP32_OFFBIG,
  4789.  
  4790. _SC_V7_LP64_OFF64,
  4791.  
  4792. _SC_V7_LPBIG_OFFBIG,
  4793.  
  4794.  
  4795. _SC_SS_REPL_MAX,
  4796.  
  4797.  
  4798. _SC_TRACE_EVENT_NAME_MAX,
  4799.  
  4800. _SC_TRACE_NAME_MAX,
  4801.  
  4802. _SC_TRACE_SYS_MAX,
  4803.  
  4804. _SC_TRACE_USER_EVENT_MAX,
  4805.  
  4806.  
  4807. _SC_XOPEN_STREAMS,
  4808.  
  4809.  
  4810. _SC_THREAD_ROBUST_PRIO_INHERIT,
  4811.  
  4812. _SC_THREAD_ROBUST_PRIO_PROTECT
  4813.  
  4814. };
  4815.  
  4816.  
  4817. enum
  4818. {
  4819. _CS_PATH,
  4820.  
  4821.  
  4822. _CS_V6_WIDTH_RESTRICTED_ENVS,
  4823.  
  4824.  
  4825.  
  4826. _CS_GNU_LIBC_VERSION,
  4827.  
  4828. _CS_GNU_LIBPTHREAD_VERSION,
  4829.  
  4830.  
  4831. _CS_V5_WIDTH_RESTRICTED_ENVS,
  4832.  
  4833.  
  4834.  
  4835. _CS_V7_WIDTH_RESTRICTED_ENVS,
  4836.  
  4837.  
  4838.  
  4839. _CS_LFS_CFLAGS = 1000,
  4840.  
  4841. _CS_LFS_LDFLAGS,
  4842.  
  4843. _CS_LFS_LIBS,
  4844.  
  4845. _CS_LFS_LINTFLAGS,
  4846.  
  4847. _CS_LFS64_CFLAGS,
  4848.  
  4849. _CS_LFS64_LDFLAGS,
  4850.  
  4851. _CS_LFS64_LIBS,
  4852.  
  4853. _CS_LFS64_LINTFLAGS,
  4854.  
  4855.  
  4856. _CS_XBS5_ILP32_OFF32_CFLAGS = 1100,
  4857.  
  4858. _CS_XBS5_ILP32_OFF32_LDFLAGS,
  4859.  
  4860. _CS_XBS5_ILP32_OFF32_LIBS,
  4861.  
  4862. _CS_XBS5_ILP32_OFF32_LINTFLAGS,
  4863.  
  4864. _CS_XBS5_ILP32_OFFBIG_CFLAGS,
  4865.  
  4866. _CS_XBS5_ILP32_OFFBIG_LDFLAGS,
  4867.  
  4868. _CS_XBS5_ILP32_OFFBIG_LIBS,
  4869.  
  4870. _CS_XBS5_ILP32_OFFBIG_LINTFLAGS,
  4871.  
  4872. _CS_XBS5_LP64_OFF64_CFLAGS,
  4873.  
  4874. _CS_XBS5_LP64_OFF64_LDFLAGS,
  4875.  
  4876. _CS_XBS5_LP64_OFF64_LIBS,
  4877.  
  4878. _CS_XBS5_LP64_OFF64_LINTFLAGS,
  4879.  
  4880. _CS_XBS5_LPBIG_OFFBIG_CFLAGS,
  4881.  
  4882. _CS_XBS5_LPBIG_OFFBIG_LDFLAGS,
  4883.  
  4884. _CS_XBS5_LPBIG_OFFBIG_LIBS,
  4885.  
  4886. _CS_XBS5_LPBIG_OFFBIG_LINTFLAGS,
  4887.  
  4888.  
  4889. _CS_POSIX_V6_ILP32_OFF32_CFLAGS,
  4890.  
  4891. _CS_POSIX_V6_ILP32_OFF32_LDFLAGS,
  4892.  
  4893. _CS_POSIX_V6_ILP32_OFF32_LIBS,
  4894.  
  4895. _CS_POSIX_V6_ILP32_OFF32_LINTFLAGS,
  4896.  
  4897. _CS_POSIX_V6_ILP32_OFFBIG_CFLAGS,
  4898.  
  4899. _CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS,
  4900.  
  4901. _CS_POSIX_V6_ILP32_OFFBIG_LIBS,
  4902.  
  4903. _CS_POSIX_V6_ILP32_OFFBIG_LINTFLAGS,
  4904.  
  4905. _CS_POSIX_V6_LP64_OFF64_CFLAGS,
  4906.  
  4907. _CS_POSIX_V6_LP64_OFF64_LDFLAGS,
  4908.  
  4909. _CS_POSIX_V6_LP64_OFF64_LIBS,
  4910.  
  4911. _CS_POSIX_V6_LP64_OFF64_LINTFLAGS,
  4912.  
  4913. _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS,
  4914.  
  4915. _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS,
  4916.  
  4917. _CS_POSIX_V6_LPBIG_OFFBIG_LIBS,
  4918.  
  4919. _CS_POSIX_V6_LPBIG_OFFBIG_LINTFLAGS,
  4920.  
  4921.  
  4922. _CS_POSIX_V7_ILP32_OFF32_CFLAGS,
  4923.  
  4924. _CS_POSIX_V7_ILP32_OFF32_LDFLAGS,
  4925.  
  4926. _CS_POSIX_V7_ILP32_OFF32_LIBS,
  4927.  
  4928. _CS_POSIX_V7_ILP32_OFF32_LINTFLAGS,
  4929.  
  4930. _CS_POSIX_V7_ILP32_OFFBIG_CFLAGS,
  4931.  
  4932. _CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS,
  4933.  
  4934. _CS_POSIX_V7_ILP32_OFFBIG_LIBS,
  4935.  
  4936. _CS_POSIX_V7_ILP32_OFFBIG_LINTFLAGS,
  4937.  
  4938. _CS_POSIX_V7_LP64_OFF64_CFLAGS,
  4939.  
  4940. _CS_POSIX_V7_LP64_OFF64_LDFLAGS,
  4941.  
  4942. _CS_POSIX_V7_LP64_OFF64_LIBS,
  4943.  
  4944. _CS_POSIX_V7_LP64_OFF64_LINTFLAGS,
  4945.  
  4946. _CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS,
  4947.  
  4948. _CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS,
  4949.  
  4950. _CS_POSIX_V7_LPBIG_OFFBIG_LIBS,
  4951.  
  4952. _CS_POSIX_V7_LPBIG_OFFBIG_LINTFLAGS,
  4953.  
  4954.  
  4955. _CS_V6_ENV,
  4956.  
  4957. _CS_V7_ENV
  4958.  
  4959. };
  4960. # 607 "/usr/include/unistd.h" 2 3 4
  4961.  
  4962.  
  4963. extern long int pathconf (__const char *__path, int __name)
  4964. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  4965.  
  4966.  
  4967. extern long int fpathconf (int __fd, int __name) __attribute__ ((__nothrow__));
  4968.  
  4969.  
  4970. extern long int sysconf (int __name) __attribute__ ((__nothrow__));
  4971.  
  4972.  
  4973.  
  4974. extern size_t confstr (int __name, char *__buf, size_t __len) __attribute__ ((__nothrow__));
  4975.  
  4976.  
  4977.  
  4978.  
  4979. extern __pid_t getpid (void) __attribute__ ((__nothrow__));
  4980.  
  4981.  
  4982. extern __pid_t getppid (void) __attribute__ ((__nothrow__));
  4983.  
  4984.  
  4985.  
  4986.  
  4987. extern __pid_t getpgrp (void) __attribute__ ((__nothrow__));
  4988. # 643 "/usr/include/unistd.h" 3 4
  4989. extern __pid_t __getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
  4990.  
  4991. extern __pid_t getpgid (__pid_t __pid) __attribute__ ((__nothrow__));
  4992.  
  4993.  
  4994.  
  4995.  
  4996.  
  4997.  
  4998. extern int setpgid (__pid_t __pid, __pid_t __pgid) __attribute__ ((__nothrow__));
  4999. # 669 "/usr/include/unistd.h" 3 4
  5000. extern int setpgrp (void) __attribute__ ((__nothrow__));
  5001. # 686 "/usr/include/unistd.h" 3 4
  5002. extern __pid_t setsid (void) __attribute__ ((__nothrow__));
  5003.  
  5004.  
  5005.  
  5006. extern __pid_t getsid (__pid_t __pid) __attribute__ ((__nothrow__));
  5007.  
  5008.  
  5009.  
  5010. extern __uid_t getuid (void) __attribute__ ((__nothrow__));
  5011.  
  5012.  
  5013. extern __uid_t geteuid (void) __attribute__ ((__nothrow__));
  5014.  
  5015.  
  5016. extern __gid_t getgid (void) __attribute__ ((__nothrow__));
  5017.  
  5018.  
  5019. extern __gid_t getegid (void) __attribute__ ((__nothrow__));
  5020.  
  5021.  
  5022.  
  5023.  
  5024. extern int getgroups (int __size, __gid_t __list[]) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  5025.  
  5026.  
  5027.  
  5028. extern int group_member (__gid_t __gid) __attribute__ ((__nothrow__));
  5029.  
  5030.  
  5031.  
  5032.  
  5033.  
  5034.  
  5035. extern int setuid (__uid_t __uid) __attribute__ ((__nothrow__));
  5036.  
  5037.  
  5038.  
  5039.  
  5040. extern int setreuid (__uid_t __ruid, __uid_t __euid) __attribute__ ((__nothrow__));
  5041.  
  5042.  
  5043.  
  5044.  
  5045. extern int seteuid (__uid_t __uid) __attribute__ ((__nothrow__));
  5046.  
  5047.  
  5048.  
  5049.  
  5050.  
  5051.  
  5052. extern int setgid (__gid_t __gid) __attribute__ ((__nothrow__));
  5053.  
  5054.  
  5055.  
  5056.  
  5057. extern int setregid (__gid_t __rgid, __gid_t __egid) __attribute__ ((__nothrow__));
  5058.  
  5059.  
  5060.  
  5061.  
  5062. extern int setegid (__gid_t __gid) __attribute__ ((__nothrow__));
  5063.  
  5064.  
  5065.  
  5066.  
  5067.  
  5068. extern int getresuid (__uid_t *__ruid, __uid_t *__euid, __uid_t *__suid)
  5069. __attribute__ ((__nothrow__));
  5070.  
  5071.  
  5072.  
  5073. extern int getresgid (__gid_t *__rgid, __gid_t *__egid, __gid_t *__sgid)
  5074. __attribute__ ((__nothrow__));
  5075.  
  5076.  
  5077.  
  5078. extern int setresuid (__uid_t __ruid, __uid_t __euid, __uid_t __suid)
  5079. __attribute__ ((__nothrow__));
  5080.  
  5081.  
  5082.  
  5083. extern int setresgid (__gid_t __rgid, __gid_t __egid, __gid_t __sgid)
  5084. __attribute__ ((__nothrow__));
  5085.  
  5086.  
  5087.  
  5088.  
  5089.  
  5090.  
  5091. extern __pid_t fork (void) __attribute__ ((__nothrow__));
  5092.  
  5093.  
  5094.  
  5095.  
  5096.  
  5097.  
  5098.  
  5099. extern __pid_t vfork (void) __attribute__ ((__nothrow__));
  5100.  
  5101.  
  5102.  
  5103.  
  5104.  
  5105. extern char *ttyname (int __fd) __attribute__ ((__nothrow__));
  5106.  
  5107.  
  5108.  
  5109. extern int ttyname_r (int __fd, char *__buf, size_t __buflen)
  5110. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
  5111.  
  5112.  
  5113.  
  5114. extern int isatty (int __fd) __attribute__ ((__nothrow__));
  5115.  
  5116.  
  5117.  
  5118.  
  5119.  
  5120. extern int ttyslot (void) __attribute__ ((__nothrow__));
  5121.  
  5122.  
  5123.  
  5124.  
  5125. extern int link (__const char *__from, __const char *__to)
  5126. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
  5127.  
  5128.  
  5129.  
  5130.  
  5131. extern int linkat (int __fromfd, __const char *__from, int __tofd,
  5132. __const char *__to, int __flags)
  5133. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4))) __attribute__ ((__warn_unused_result__));
  5134.  
  5135.  
  5136.  
  5137.  
  5138. extern int symlink (__const char *__from, __const char *__to)
  5139. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
  5140.  
  5141.  
  5142.  
  5143.  
  5144. extern ssize_t readlink (__const char *__restrict __path,
  5145. char *__restrict __buf, size_t __len)
  5146. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
  5147.  
  5148.  
  5149.  
  5150.  
  5151. extern int symlinkat (__const char *__from, int __tofd,
  5152. __const char *__to) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 3))) __attribute__ ((__warn_unused_result__));
  5153.  
  5154.  
  5155. extern ssize_t readlinkat (int __fd, __const char *__restrict __path,
  5156. char *__restrict __buf, size_t __len)
  5157. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
  5158.  
  5159.  
  5160.  
  5161. extern int unlink (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  5162.  
  5163.  
  5164.  
  5165. extern int unlinkat (int __fd, __const char *__name, int __flag)
  5166. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  5167.  
  5168.  
  5169.  
  5170. extern int rmdir (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  5171.  
  5172.  
  5173.  
  5174. extern __pid_t tcgetpgrp (int __fd) __attribute__ ((__nothrow__));
  5175.  
  5176.  
  5177. extern int tcsetpgrp (int __fd, __pid_t __pgrp_id) __attribute__ ((__nothrow__));
  5178.  
  5179.  
  5180.  
  5181.  
  5182.  
  5183.  
  5184. extern char *getlogin (void);
  5185.  
  5186.  
  5187.  
  5188.  
  5189.  
  5190.  
  5191.  
  5192. extern int getlogin_r (char *__name, size_t __name_len) __attribute__ ((__nonnull__ (1)));
  5193.  
  5194.  
  5195.  
  5196.  
  5197. extern int setlogin (__const char *__name) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  5198. # 890 "/usr/include/unistd.h" 3 4
  5199. # 1 "/usr/include/getopt.h" 1 3 4
  5200. # 59 "/usr/include/getopt.h" 3 4
  5201. extern char *optarg;
  5202. # 73 "/usr/include/getopt.h" 3 4
  5203. extern int optind;
  5204.  
  5205.  
  5206.  
  5207.  
  5208. extern int opterr;
  5209.  
  5210.  
  5211.  
  5212. extern int optopt;
  5213. # 152 "/usr/include/getopt.h" 3 4
  5214. extern int getopt (int ___argc, char *const *___argv, const char *__shortopts)
  5215. __attribute__ ((__nothrow__));
  5216. # 891 "/usr/include/unistd.h" 2 3 4
  5217.  
  5218.  
  5219.  
  5220.  
  5221.  
  5222.  
  5223.  
  5224. extern int gethostname (char *__name, size_t __len) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  5225.  
  5226.  
  5227.  
  5228.  
  5229.  
  5230.  
  5231. extern int sethostname (__const char *__name, size_t __len)
  5232. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  5233.  
  5234.  
  5235.  
  5236. extern int sethostid (long int __id) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  5237.  
  5238.  
  5239.  
  5240.  
  5241.  
  5242. extern int getdomainname (char *__name, size_t __len)
  5243. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  5244. extern int setdomainname (__const char *__name, size_t __len)
  5245. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  5246.  
  5247.  
  5248.  
  5249.  
  5250.  
  5251. extern int vhangup (void) __attribute__ ((__nothrow__));
  5252.  
  5253.  
  5254. extern int revoke (__const char *__file) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  5255.  
  5256.  
  5257.  
  5258.  
  5259.  
  5260.  
  5261.  
  5262. extern int profil (unsigned short int *__sample_buffer, size_t __size,
  5263. size_t __offset, unsigned int __scale)
  5264. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  5265.  
  5266.  
  5267.  
  5268.  
  5269.  
  5270. extern int acct (__const char *__name) __attribute__ ((__nothrow__));
  5271.  
  5272.  
  5273.  
  5274. extern char *getusershell (void) __attribute__ ((__nothrow__));
  5275. extern void endusershell (void) __attribute__ ((__nothrow__));
  5276. extern void setusershell (void) __attribute__ ((__nothrow__));
  5277.  
  5278.  
  5279.  
  5280.  
  5281.  
  5282. extern int daemon (int __nochdir, int __noclose) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  5283.  
  5284.  
  5285.  
  5286.  
  5287.  
  5288.  
  5289. extern int chroot (__const char *__path) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  5290.  
  5291.  
  5292.  
  5293. extern char *getpass (__const char *__prompt) __attribute__ ((__nonnull__ (1)));
  5294. # 976 "/usr/include/unistd.h" 3 4
  5295. extern int fsync (int __fd);
  5296.  
  5297.  
  5298.  
  5299.  
  5300.  
  5301.  
  5302. extern long int gethostid (void);
  5303.  
  5304.  
  5305. extern void sync (void) __attribute__ ((__nothrow__));
  5306.  
  5307.  
  5308.  
  5309.  
  5310.  
  5311. extern int getpagesize (void) __attribute__ ((__nothrow__)) __attribute__ ((__const__));
  5312.  
  5313.  
  5314.  
  5315.  
  5316. extern int getdtablesize (void) __attribute__ ((__nothrow__));
  5317. # 1011 "/usr/include/unistd.h" 3 4
  5318. extern int truncate (__const char *__file, __off64_t __length) __asm__ ("" "truncate64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  5319.  
  5320.  
  5321.  
  5322.  
  5323.  
  5324.  
  5325.  
  5326. extern int truncate64 (__const char *__file, __off64_t __length)
  5327. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  5328. # 1029 "/usr/include/unistd.h" 3 4
  5329. extern int ftruncate (int __fd, __off64_t __length) __asm__ ("" "ftruncate64") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  5330.  
  5331.  
  5332.  
  5333.  
  5334.  
  5335.  
  5336. extern int ftruncate64 (int __fd, __off64_t __length) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  5337. # 1047 "/usr/include/unistd.h" 3 4
  5338. extern int brk (void *__addr) __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  5339.  
  5340.  
  5341.  
  5342.  
  5343.  
  5344. extern void *sbrk (intptr_t __delta) __attribute__ ((__nothrow__));
  5345. # 1068 "/usr/include/unistd.h" 3 4
  5346. extern long int syscall (long int __sysno, ...) __attribute__ ((__nothrow__));
  5347. # 1094 "/usr/include/unistd.h" 3 4
  5348. extern int lockf (int __fd, int __cmd, __off64_t __len) __asm__ ("" "lockf64") __attribute__ ((__warn_unused_result__));
  5349.  
  5350.  
  5351.  
  5352.  
  5353.  
  5354.  
  5355. extern int lockf64 (int __fd, int __cmd, __off64_t __len) __attribute__ ((__warn_unused_result__));
  5356. # 1122 "/usr/include/unistd.h" 3 4
  5357. extern int fdatasync (int __fildes);
  5358.  
  5359.  
  5360.  
  5361.  
  5362.  
  5363.  
  5364.  
  5365. extern char *crypt (__const char *__key, __const char *__salt)
  5366. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  5367.  
  5368.  
  5369.  
  5370. extern void encrypt (char *__libc_block, int __edflag) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  5371.  
  5372.  
  5373.  
  5374.  
  5375.  
  5376.  
  5377. extern void swab (__const void *__restrict __from, void *__restrict __to,
  5378. ssize_t __n) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  5379.  
  5380.  
  5381.  
  5382.  
  5383.  
  5384.  
  5385.  
  5386. extern char *ctermid (char *__s) __attribute__ ((__nothrow__));
  5387.  
  5388.  
  5389.  
  5390.  
  5391.  
  5392. # 1 "/usr/include/bits/unistd.h" 1 3 4
  5393. # 24 "/usr/include/bits/unistd.h" 3 4
  5394. extern ssize_t __read_chk (int __fd, void *__buf, size_t __nbytes,
  5395. size_t __buflen) __attribute__ ((__warn_unused_result__));
  5396. extern ssize_t __read_alias (int __fd, void *__buf, size_t __nbytes) __asm__ ("" "read") __attribute__ ((__warn_unused_result__));
  5397.  
  5398. extern ssize_t __read_chk_warn (int __fd, void *__buf, size_t __nbytes, size_t __buflen) __asm__ ("" "__read_chk")
  5399.  
  5400.  
  5401. __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("read called with bigger length than size of " "the destination buffer")));
  5402.  
  5403.  
  5404. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
  5405. read (int __fd, void *__buf, size_t __nbytes)
  5406. {
  5407. if (__builtin_object_size (__buf, 0) != (size_t) -1)
  5408. {
  5409. if (!__builtin_constant_p (__nbytes))
  5410. return __read_chk (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0));
  5411.  
  5412. if (__nbytes > __builtin_object_size (__buf, 0))
  5413. return __read_chk_warn (__fd, __buf, __nbytes, __builtin_object_size (__buf, 0));
  5414. }
  5415. return __read_alias (__fd, __buf, __nbytes);
  5416. }
  5417.  
  5418.  
  5419. extern ssize_t __pread_chk (int __fd, void *__buf, size_t __nbytes,
  5420. __off_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__));
  5421. extern ssize_t __pread64_chk (int __fd, void *__buf, size_t __nbytes,
  5422. __off64_t __offset, size_t __bufsize) __attribute__ ((__warn_unused_result__));
  5423. extern ssize_t __pread_alias (int __fd, void *__buf, size_t __nbytes, __off_t __offset) __asm__ ("" "pread") __attribute__ ((__warn_unused_result__));
  5424.  
  5425.  
  5426. extern ssize_t __pread64_alias (int __fd, void *__buf, size_t __nbytes, __off64_t __offset) __asm__ ("" "pread64") __attribute__ ((__warn_unused_result__));
  5427.  
  5428.  
  5429. extern ssize_t __pread_chk_warn (int __fd, void *__buf, size_t __nbytes, __off_t __offset, size_t __bufsize) __asm__ ("" "__pread_chk")
  5430.  
  5431.  
  5432. __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread called with bigger length than size of " "the destination buffer")));
  5433.  
  5434. extern ssize_t __pread64_chk_warn (int __fd, void *__buf, size_t __nbytes, __off64_t __offset, size_t __bufsize) __asm__ ("" "__pread64_chk")
  5435.  
  5436.  
  5437.  
  5438. __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("pread64 called with bigger length than size of " "the destination buffer")));
  5439. # 87 "/usr/include/bits/unistd.h" 3 4
  5440. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
  5441. pread (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
  5442. {
  5443. if (__builtin_object_size (__buf, 0) != (size_t) -1)
  5444. {
  5445. if (!__builtin_constant_p (__nbytes))
  5446. return __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0));
  5447.  
  5448. if ( __nbytes > __builtin_object_size (__buf, 0))
  5449. return __pread64_chk_warn (__fd, __buf, __nbytes, __offset,
  5450. __builtin_object_size (__buf, 0));
  5451. }
  5452.  
  5453. return __pread64_alias (__fd, __buf, __nbytes, __offset);
  5454. }
  5455.  
  5456.  
  5457.  
  5458. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) ssize_t
  5459. pread64 (int __fd, void *__buf, size_t __nbytes, __off64_t __offset)
  5460. {
  5461. if (__builtin_object_size (__buf, 0) != (size_t) -1)
  5462. {
  5463. if (!__builtin_constant_p (__nbytes))
  5464. return __pread64_chk (__fd, __buf, __nbytes, __offset, __builtin_object_size (__buf, 0));
  5465.  
  5466. if ( __nbytes > __builtin_object_size (__buf, 0))
  5467. return __pread64_chk_warn (__fd, __buf, __nbytes, __offset,
  5468. __builtin_object_size (__buf, 0));
  5469. }
  5470.  
  5471. return __pread64_alias (__fd, __buf, __nbytes, __offset);
  5472. }
  5473.  
  5474.  
  5475.  
  5476.  
  5477. extern ssize_t __readlink_chk (__const char *__restrict __path,
  5478. char *__restrict __buf, size_t __len,
  5479. size_t __buflen)
  5480. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
  5481. extern ssize_t __readlink_alias (__const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlink") __attribute__ ((__nothrow__))
  5482.  
  5483.  
  5484. __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__));
  5485. extern ssize_t __readlink_chk_warn (__const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlink_chk") __attribute__ ((__nothrow__))
  5486.  
  5487.  
  5488.  
  5489. __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlink called with bigger length " "than size of destination buffer")));
  5490.  
  5491.  
  5492. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1, 2))) __attribute__ ((__warn_unused_result__)) ssize_t
  5493. __attribute__ ((__nothrow__)) readlink (__const char *__restrict __path, char *__restrict __buf, size_t __len)
  5494.  
  5495. {
  5496. if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
  5497. {
  5498. if (!__builtin_constant_p (__len))
  5499. return __readlink_chk (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
  5500.  
  5501. if ( __len > __builtin_object_size (__buf, 2 > 1))
  5502. return __readlink_chk_warn (__path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
  5503. }
  5504. return __readlink_alias (__path, __buf, __len);
  5505. }
  5506.  
  5507.  
  5508.  
  5509. extern ssize_t __readlinkat_chk (int __fd, __const char *__restrict __path,
  5510. char *__restrict __buf, size_t __len,
  5511. size_t __buflen)
  5512. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
  5513. extern ssize_t __readlinkat_alias (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len) __asm__ ("" "readlinkat") __attribute__ ((__nothrow__))
  5514.  
  5515.  
  5516.  
  5517. __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__));
  5518. extern ssize_t __readlinkat_chk_warn (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len, size_t __buflen) __asm__ ("" "__readlinkat_chk") __attribute__ ((__nothrow__))
  5519.  
  5520.  
  5521.  
  5522. __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("readlinkat called with bigger " "length than size of destination " "buffer")));
  5523.  
  5524.  
  5525.  
  5526. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (2, 3))) __attribute__ ((__warn_unused_result__)) ssize_t
  5527. __attribute__ ((__nothrow__)) readlinkat (int __fd, __const char *__restrict __path, char *__restrict __buf, size_t __len)
  5528.  
  5529. {
  5530. if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
  5531. {
  5532. if (!__builtin_constant_p (__len))
  5533. return __readlinkat_chk (__fd, __path, __buf, __len, __builtin_object_size (__buf, 2 > 1));
  5534.  
  5535. if (__len > __builtin_object_size (__buf, 2 > 1))
  5536. return __readlinkat_chk_warn (__fd, __path, __buf, __len,
  5537. __builtin_object_size (__buf, 2 > 1));
  5538. }
  5539. return __readlinkat_alias (__fd, __path, __buf, __len);
  5540. }
  5541.  
  5542.  
  5543. extern char *__getcwd_chk (char *__buf, size_t __size, size_t __buflen)
  5544. __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  5545. extern char *__getcwd_alias (char *__buf, size_t __size) __asm__ ("" "getcwd") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  5546.  
  5547. extern char *__getcwd_chk_warn (char *__buf, size_t __size, size_t __buflen) __asm__ ("" "__getcwd_chk") __attribute__ ((__nothrow__))
  5548.  
  5549.  
  5550. __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getcwd caller with bigger length than size of " "destination buffer")));
  5551.  
  5552.  
  5553. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__warn_unused_result__)) char *
  5554. __attribute__ ((__nothrow__)) getcwd (char *__buf, size_t __size)
  5555. {
  5556. if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
  5557. {
  5558. if (!__builtin_constant_p (__size))
  5559. return __getcwd_chk (__buf, __size, __builtin_object_size (__buf, 2 > 1));
  5560.  
  5561. if (__size > __builtin_object_size (__buf, 2 > 1))
  5562. return __getcwd_chk_warn (__buf, __size, __builtin_object_size (__buf, 2 > 1));
  5563. }
  5564. return __getcwd_alias (__buf, __size);
  5565. }
  5566.  
  5567.  
  5568. extern char *__getwd_chk (char *__buf, size_t buflen)
  5569. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  5570. extern char *__getwd_warn (char *__buf) __asm__ ("" "getwd") __attribute__ ((__nothrow__))
  5571. __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("please use getcwd instead, as getwd " "doesn't specify buffer size")));
  5572.  
  5573.  
  5574. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__deprecated__)) __attribute__ ((__warn_unused_result__)) char *
  5575. __attribute__ ((__nothrow__)) getwd (char *__buf)
  5576. {
  5577. if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
  5578. return __getwd_chk (__buf, __builtin_object_size (__buf, 2 > 1));
  5579. return __getwd_warn (__buf);
  5580. }
  5581.  
  5582.  
  5583. extern size_t __confstr_chk (int __name, char *__buf, size_t __len,
  5584. size_t __buflen) __attribute__ ((__nothrow__));
  5585. extern size_t __confstr_alias (int __name, char *__buf, size_t __len) __asm__ ("" "confstr") __attribute__ ((__nothrow__));
  5586.  
  5587. extern size_t __confstr_chk_warn (int __name, char *__buf, size_t __len, size_t __buflen) __asm__ ("" "__confstr_chk") __attribute__ ((__nothrow__))
  5588.  
  5589.  
  5590. __attribute__((__warning__ ("confstr called with bigger length than size of destination " "buffer")));
  5591.  
  5592.  
  5593. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) size_t
  5594. __attribute__ ((__nothrow__)) confstr (int __name, char *__buf, size_t __len)
  5595. {
  5596. if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
  5597. {
  5598. if (!__builtin_constant_p (__len))
  5599. return __confstr_chk (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1));
  5600.  
  5601. if (__builtin_object_size (__buf, 2 > 1) < __len)
  5602. return __confstr_chk_warn (__name, __buf, __len, __builtin_object_size (__buf, 2 > 1));
  5603. }
  5604. return __confstr_alias (__name, __buf, __len);
  5605. }
  5606.  
  5607.  
  5608. extern int __getgroups_chk (int __size, __gid_t __list[], size_t __listlen)
  5609. __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  5610. extern int __getgroups_alias (int __size, __gid_t __list[]) __asm__ ("" "getgroups") __attribute__ ((__nothrow__)) __attribute__ ((__warn_unused_result__));
  5611.  
  5612. extern int __getgroups_chk_warn (int __size, __gid_t __list[], size_t __listlen) __asm__ ("" "__getgroups_chk") __attribute__ ((__nothrow__))
  5613.  
  5614.  
  5615. __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getgroups called with bigger group count than what " "can fit into destination buffer")));
  5616.  
  5617.  
  5618. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  5619. __attribute__ ((__nothrow__)) getgroups (int __size, __gid_t __list[])
  5620. {
  5621. if (__builtin_object_size (__list, 2 > 1) != (size_t) -1)
  5622. {
  5623. if (!__builtin_constant_p (__size) || __size < 0)
  5624. return __getgroups_chk (__size, __list, __builtin_object_size (__list, 2 > 1));
  5625.  
  5626. if (__size * sizeof (__gid_t) > __builtin_object_size (__list, 2 > 1))
  5627. return __getgroups_chk_warn (__size, __list, __builtin_object_size (__list, 2 > 1));
  5628. }
  5629. return __getgroups_alias (__size, __list);
  5630. }
  5631.  
  5632.  
  5633. extern int __ttyname_r_chk (int __fd, char *__buf, size_t __buflen,
  5634. size_t __nreal) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  5635. extern int __ttyname_r_alias (int __fd, char *__buf, size_t __buflen) __asm__ ("" "ttyname_r") __attribute__ ((__nothrow__))
  5636.  
  5637. __attribute__ ((__nonnull__ (2)));
  5638. extern int __ttyname_r_chk_warn (int __fd, char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__ttyname_r_chk") __attribute__ ((__nothrow__))
  5639.  
  5640.  
  5641. __attribute__ ((__nonnull__ (2))) __attribute__((__warning__ ("ttyname_r called with bigger buflen than " "size of destination buffer")));
  5642.  
  5643.  
  5644. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  5645. __attribute__ ((__nothrow__)) ttyname_r (int __fd, char *__buf, size_t __buflen)
  5646. {
  5647. if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
  5648. {
  5649. if (!__builtin_constant_p (__buflen))
  5650. return __ttyname_r_chk (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
  5651.  
  5652. if (__buflen > __builtin_object_size (__buf, 2 > 1))
  5653. return __ttyname_r_chk_warn (__fd, __buf, __buflen, __builtin_object_size (__buf, 2 > 1));
  5654. }
  5655. return __ttyname_r_alias (__fd, __buf, __buflen);
  5656. }
  5657.  
  5658.  
  5659.  
  5660. extern int __getlogin_r_chk (char *__buf, size_t __buflen, size_t __nreal)
  5661. __attribute__ ((__nonnull__ (1)));
  5662. extern int __getlogin_r_alias (char *__buf, size_t __buflen) __asm__ ("" "getlogin_r") __attribute__ ((__nonnull__ (1)));
  5663.  
  5664. extern int __getlogin_r_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getlogin_r_chk")
  5665.  
  5666.  
  5667. __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("getlogin_r called with bigger buflen than " "size of destination buffer")));
  5668.  
  5669.  
  5670. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  5671. getlogin_r (char *__buf, size_t __buflen)
  5672. {
  5673. if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
  5674. {
  5675. if (!__builtin_constant_p (__buflen))
  5676. return __getlogin_r_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
  5677.  
  5678. if (__buflen > __builtin_object_size (__buf, 2 > 1))
  5679. return __getlogin_r_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
  5680. }
  5681. return __getlogin_r_alias (__buf, __buflen);
  5682. }
  5683.  
  5684.  
  5685.  
  5686.  
  5687. extern int __gethostname_chk (char *__buf, size_t __buflen, size_t __nreal)
  5688. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  5689. extern int __gethostname_alias (char *__buf, size_t __buflen) __asm__ ("" "gethostname") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  5690.  
  5691. extern int __gethostname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__gethostname_chk") __attribute__ ((__nothrow__))
  5692.  
  5693.  
  5694. __attribute__ ((__nonnull__ (1))) __attribute__((__warning__ ("gethostname called with bigger buflen than " "size of destination buffer")));
  5695.  
  5696.  
  5697. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  5698. __attribute__ ((__nothrow__)) gethostname (char *__buf, size_t __buflen)
  5699. {
  5700. if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
  5701. {
  5702. if (!__builtin_constant_p (__buflen))
  5703. return __gethostname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
  5704.  
  5705. if (__buflen > __builtin_object_size (__buf, 2 > 1))
  5706. return __gethostname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
  5707. }
  5708. return __gethostname_alias (__buf, __buflen);
  5709. }
  5710.  
  5711.  
  5712.  
  5713.  
  5714. extern int __getdomainname_chk (char *__buf, size_t __buflen, size_t __nreal)
  5715. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  5716. extern int __getdomainname_alias (char *__buf, size_t __buflen) __asm__ ("" "getdomainname") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__));
  5717.  
  5718.  
  5719. extern int __getdomainname_chk_warn (char *__buf, size_t __buflen, size_t __nreal) __asm__ ("" "__getdomainname_chk") __attribute__ ((__nothrow__))
  5720.  
  5721.  
  5722. __attribute__ ((__nonnull__ (1))) __attribute__ ((__warn_unused_result__)) __attribute__((__warning__ ("getdomainname called with bigger " "buflen than size of destination " "buffer")));
  5723.  
  5724.  
  5725.  
  5726. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  5727. __attribute__ ((__nothrow__)) getdomainname (char *__buf, size_t __buflen)
  5728. {
  5729. if (__builtin_object_size (__buf, 2 > 1) != (size_t) -1)
  5730. {
  5731. if (!__builtin_constant_p (__buflen))
  5732. return __getdomainname_chk (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
  5733.  
  5734. if (__buflen > __builtin_object_size (__buf, 2 > 1))
  5735. return __getdomainname_chk_warn (__buf, __buflen, __builtin_object_size (__buf, 2 > 1));
  5736. }
  5737. return __getdomainname_alias (__buf, __buflen);
  5738. }
  5739. # 1158 "/usr/include/unistd.h" 2 3 4
  5740.  
  5741.  
  5742.  
  5743. # 31 "./qemu-common.h" 2
  5744. # 1 "/usr/include/fcntl.h" 1 3 4
  5745. # 30 "/usr/include/fcntl.h" 3 4
  5746.  
  5747.  
  5748.  
  5749.  
  5750. # 1 "/usr/include/bits/fcntl.h" 1 3 4
  5751. # 26 "/usr/include/bits/fcntl.h" 3 4
  5752. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  5753. # 27 "/usr/include/bits/fcntl.h" 2 3 4
  5754.  
  5755. # 1 "/usr/include/bits/uio.h" 1 3 4
  5756. # 44 "/usr/include/bits/uio.h" 3 4
  5757. struct iovec
  5758. {
  5759. void *iov_base;
  5760. size_t iov_len;
  5761. };
  5762. # 29 "/usr/include/bits/fcntl.h" 2 3 4
  5763. # 165 "/usr/include/bits/fcntl.h" 3 4
  5764. struct flock
  5765. {
  5766. short int l_type;
  5767. short int l_whence;
  5768.  
  5769.  
  5770.  
  5771.  
  5772. __off64_t l_start;
  5773. __off64_t l_len;
  5774.  
  5775. __pid_t l_pid;
  5776. };
  5777.  
  5778.  
  5779. struct flock64
  5780. {
  5781. short int l_type;
  5782. short int l_whence;
  5783. __off64_t l_start;
  5784. __off64_t l_len;
  5785. __pid_t l_pid;
  5786. };
  5787.  
  5788.  
  5789.  
  5790.  
  5791. enum __pid_type
  5792. {
  5793. F_OWNER_TID = 0,
  5794. F_OWNER_PID,
  5795. F_OWNER_PGRP,
  5796. F_OWNER_GID = F_OWNER_PGRP
  5797. };
  5798.  
  5799.  
  5800. struct f_owner_ex
  5801. {
  5802. enum __pid_type type;
  5803. __pid_t pid;
  5804. };
  5805. # 263 "/usr/include/bits/fcntl.h" 3 4
  5806.  
  5807.  
  5808.  
  5809.  
  5810.  
  5811. extern ssize_t readahead (int __fd, __off64_t __offset, size_t __count)
  5812. __attribute__ ((__nothrow__));
  5813.  
  5814.  
  5815.  
  5816. extern int sync_file_range (int __fd, __off64_t __offset, __off64_t __count,
  5817. unsigned int __flags);
  5818.  
  5819.  
  5820.  
  5821. extern ssize_t vmsplice (int __fdout, const struct iovec *__iov,
  5822. size_t __count, unsigned int __flags);
  5823.  
  5824.  
  5825. extern ssize_t splice (int __fdin, __off64_t *__offin, int __fdout,
  5826. __off64_t *__offout, size_t __len,
  5827. unsigned int __flags);
  5828.  
  5829.  
  5830. extern ssize_t tee (int __fdin, int __fdout, size_t __len,
  5831. unsigned int __flags);
  5832.  
  5833.  
  5834.  
  5835.  
  5836.  
  5837.  
  5838. extern int fallocate (int __fd, int __mode, __off64_t __offset, __off64_t __len) __asm__ ("" "fallocate64");
  5839.  
  5840.  
  5841.  
  5842.  
  5843.  
  5844.  
  5845.  
  5846. extern int fallocate64 (int __fd, int __mode, __off64_t __offset,
  5847. __off64_t __len);
  5848.  
  5849.  
  5850.  
  5851.  
  5852. # 35 "/usr/include/fcntl.h" 2 3 4
  5853.  
  5854.  
  5855.  
  5856.  
  5857.  
  5858.  
  5859. # 1 "/usr/include/bits/stat.h" 1 3 4
  5860. # 46 "/usr/include/bits/stat.h" 3 4
  5861. struct stat
  5862. {
  5863. __dev_t st_dev;
  5864.  
  5865.  
  5866.  
  5867.  
  5868. __ino_t st_ino;
  5869.  
  5870.  
  5871.  
  5872.  
  5873.  
  5874.  
  5875.  
  5876. __nlink_t st_nlink;
  5877. __mode_t st_mode;
  5878.  
  5879. __uid_t st_uid;
  5880. __gid_t st_gid;
  5881.  
  5882. int __pad0;
  5883.  
  5884. __dev_t st_rdev;
  5885.  
  5886.  
  5887.  
  5888.  
  5889. __off_t st_size;
  5890.  
  5891.  
  5892.  
  5893. __blksize_t st_blksize;
  5894.  
  5895. __blkcnt_t st_blocks;
  5896. # 91 "/usr/include/bits/stat.h" 3 4
  5897. struct timespec st_atim;
  5898. struct timespec st_mtim;
  5899. struct timespec st_ctim;
  5900. # 106 "/usr/include/bits/stat.h" 3 4
  5901. long int __unused[3];
  5902. # 115 "/usr/include/bits/stat.h" 3 4
  5903. };
  5904.  
  5905.  
  5906.  
  5907. struct stat64
  5908. {
  5909. __dev_t st_dev;
  5910.  
  5911. __ino64_t st_ino;
  5912. __nlink_t st_nlink;
  5913. __mode_t st_mode;
  5914.  
  5915.  
  5916.  
  5917.  
  5918.  
  5919.  
  5920. __uid_t st_uid;
  5921. __gid_t st_gid;
  5922.  
  5923. int __pad0;
  5924. __dev_t st_rdev;
  5925. __off_t st_size;
  5926.  
  5927.  
  5928.  
  5929.  
  5930.  
  5931. __blksize_t st_blksize;
  5932. __blkcnt64_t st_blocks;
  5933.  
  5934.  
  5935.  
  5936.  
  5937.  
  5938.  
  5939.  
  5940. struct timespec st_atim;
  5941. struct timespec st_mtim;
  5942. struct timespec st_ctim;
  5943. # 167 "/usr/include/bits/stat.h" 3 4
  5944. long int __unused[3];
  5945.  
  5946.  
  5947.  
  5948. };
  5949. # 42 "/usr/include/fcntl.h" 2 3 4
  5950. # 110 "/usr/include/fcntl.h" 3 4
  5951. extern int fcntl (int __fd, int __cmd, ...);
  5952. # 122 "/usr/include/fcntl.h" 3 4
  5953. extern int open (__const char *__file, int __oflag, ...) __asm__ ("" "open64")
  5954. __attribute__ ((__nonnull__ (1)));
  5955.  
  5956.  
  5957.  
  5958.  
  5959.  
  5960. extern int open64 (__const char *__file, int __oflag, ...) __attribute__ ((__nonnull__ (1)));
  5961. # 147 "/usr/include/fcntl.h" 3 4
  5962. extern int openat (int __fd, __const char *__file, int __oflag, ...) __asm__ ("" "openat64") __attribute__ ((__nonnull__ (2)));
  5963.  
  5964.  
  5965.  
  5966.  
  5967.  
  5968.  
  5969. extern int openat64 (int __fd, __const char *__file, int __oflag, ...)
  5970. __attribute__ ((__nonnull__ (2)));
  5971. # 168 "/usr/include/fcntl.h" 3 4
  5972. extern int creat (__const char *__file, __mode_t __mode) __asm__ ("" "creat64") __attribute__ ((__nonnull__ (1)));
  5973.  
  5974.  
  5975.  
  5976.  
  5977.  
  5978.  
  5979. extern int creat64 (__const char *__file, __mode_t __mode) __attribute__ ((__nonnull__ (1)));
  5980. # 215 "/usr/include/fcntl.h" 3 4
  5981. extern int posix_fadvise (int __fd, __off64_t __offset, __off64_t __len, int __advise) __asm__ ("" "posix_fadvise64") __attribute__ ((__nothrow__));
  5982.  
  5983.  
  5984.  
  5985.  
  5986.  
  5987.  
  5988.  
  5989. extern int posix_fadvise64 (int __fd, __off64_t __offset, __off64_t __len,
  5990. int __advise) __attribute__ ((__nothrow__));
  5991. # 236 "/usr/include/fcntl.h" 3 4
  5992. extern int posix_fallocate (int __fd, __off64_t __offset, __off64_t __len) __asm__ ("" "posix_fallocate64");
  5993.  
  5994.  
  5995.  
  5996.  
  5997.  
  5998.  
  5999.  
  6000. extern int posix_fallocate64 (int __fd, __off64_t __offset, __off64_t __len);
  6001.  
  6002.  
  6003.  
  6004.  
  6005.  
  6006.  
  6007.  
  6008. # 1 "/usr/include/bits/fcntl2.h" 1 3 4
  6009. # 31 "/usr/include/bits/fcntl2.h" 3 4
  6010. extern int __open_2 (__const char *__path, int __oflag) __asm__ ("" "__open64_2") __attribute__ ((__nonnull__ (1)));
  6011.  
  6012. extern int __open_alias (__const char *__path, int __oflag, ...) __asm__ ("" "open64") __attribute__ ((__nonnull__ (1)));
  6013.  
  6014.  
  6015. extern void __open_too_many_args (void) __attribute__((__error__ ("open can be called either with 2 or 3 arguments, not more")));
  6016.  
  6017. extern void __open_missing_mode (void) __attribute__((__error__ ("open with O_CREAT in second argument needs 3 arguments")));
  6018.  
  6019.  
  6020. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  6021. open (__const char *__path, int __oflag, ...)
  6022. {
  6023. if (__builtin_va_arg_pack_len () > 1)
  6024. __open_too_many_args ();
  6025.  
  6026. if (__builtin_constant_p (__oflag))
  6027. {
  6028. if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1)
  6029. {
  6030. __open_missing_mode ();
  6031. return __open_2 (__path, __oflag);
  6032. }
  6033. return __open_alias (__path, __oflag, __builtin_va_arg_pack ());
  6034. }
  6035.  
  6036. if (__builtin_va_arg_pack_len () < 1)
  6037. return __open_2 (__path, __oflag);
  6038.  
  6039. return __open_alias (__path, __oflag, __builtin_va_arg_pack ());
  6040. }
  6041.  
  6042.  
  6043.  
  6044. extern int __open64_2 (__const char *__path, int __oflag) __attribute__ ((__nonnull__ (1)));
  6045. extern int __open64_alias (__const char *__path, int __oflag, ...) __asm__ ("" "open64") __attribute__ ((__nonnull__ (1)));
  6046.  
  6047. extern void __open64_too_many_args (void) __attribute__((__error__ ("open64 can be called either with 2 or 3 arguments, not more")));
  6048.  
  6049. extern void __open64_missing_mode (void) __attribute__((__error__ ("open64 with O_CREAT in second argument needs 3 arguments")));
  6050.  
  6051.  
  6052. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  6053. open64 (__const char *__path, int __oflag, ...)
  6054. {
  6055. if (__builtin_va_arg_pack_len () > 1)
  6056. __open64_too_many_args ();
  6057.  
  6058. if (__builtin_constant_p (__oflag))
  6059. {
  6060. if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1)
  6061. {
  6062. __open64_missing_mode ();
  6063. return __open64_2 (__path, __oflag);
  6064. }
  6065. return __open64_alias (__path, __oflag, __builtin_va_arg_pack ());
  6066. }
  6067.  
  6068. if (__builtin_va_arg_pack_len () < 1)
  6069. return __open64_2 (__path, __oflag);
  6070.  
  6071. return __open64_alias (__path, __oflag, __builtin_va_arg_pack ());
  6072. }
  6073. # 105 "/usr/include/bits/fcntl2.h" 3 4
  6074. extern int __openat_2 (int __fd, __const char *__path, int __oflag) __asm__ ("" "__openat64_2")
  6075.  
  6076. __attribute__ ((__nonnull__ (2)));
  6077. extern int __openat_alias (int __fd, __const char *__path, int __oflag, ...) __asm__ ("" "openat64")
  6078.  
  6079. __attribute__ ((__nonnull__ (2)));
  6080.  
  6081. extern void __openat_too_many_args (void) __attribute__((__error__ ("openat can be called either with 3 or 4 arguments, not more")));
  6082.  
  6083. extern void __openat_missing_mode (void) __attribute__((__error__ ("openat with O_CREAT in third argument needs 4 arguments")));
  6084.  
  6085.  
  6086. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  6087. openat (int __fd, __const char *__path, int __oflag, ...)
  6088. {
  6089. if (__builtin_va_arg_pack_len () > 1)
  6090. __openat_too_many_args ();
  6091.  
  6092. if (__builtin_constant_p (__oflag))
  6093. {
  6094. if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1)
  6095. {
  6096. __openat_missing_mode ();
  6097. return __openat_2 (__fd, __path, __oflag);
  6098. }
  6099. return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ());
  6100. }
  6101.  
  6102. if (__builtin_va_arg_pack_len () < 1)
  6103. return __openat_2 (__fd, __path, __oflag);
  6104.  
  6105. return __openat_alias (__fd, __path, __oflag, __builtin_va_arg_pack ());
  6106. }
  6107.  
  6108.  
  6109.  
  6110. extern int __openat64_2 (int __fd, __const char *__path, int __oflag)
  6111. __attribute__ ((__nonnull__ (2)));
  6112. extern int __openat64_alias (int __fd, __const char *__path, int __oflag, ...) __asm__ ("" "openat64")
  6113.  
  6114. __attribute__ ((__nonnull__ (2)));
  6115. extern void __openat64_too_many_args (void) __attribute__((__error__ ("openat64 can be called either with 3 or 4 arguments, not more")));
  6116.  
  6117. extern void __openat64_missing_mode (void) __attribute__((__error__ ("openat64 with O_CREAT in third argument needs 4 arguments")));
  6118.  
  6119.  
  6120. extern __inline __attribute__ ((__always_inline__)) __attribute__ ((__artificial__)) int
  6121. openat64 (int __fd, __const char *__path, int __oflag, ...)
  6122. {
  6123. if (__builtin_va_arg_pack_len () > 1)
  6124. __openat64_too_many_args ();
  6125.  
  6126. if (__builtin_constant_p (__oflag))
  6127. {
  6128. if ((__oflag & 0100) != 0 && __builtin_va_arg_pack_len () < 1)
  6129. {
  6130. __openat64_missing_mode ();
  6131. return __openat64_2 (__fd, __path, __oflag);
  6132. }
  6133. return __openat64_alias (__fd, __path, __oflag, __builtin_va_arg_pack ());
  6134. }
  6135.  
  6136. if (__builtin_va_arg_pack_len () < 1)
  6137. return __openat64_2 (__fd, __path, __oflag);
  6138.  
  6139. return __openat64_alias (__fd, __path, __oflag, __builtin_va_arg_pack ());
  6140. }
  6141. # 253 "/usr/include/fcntl.h" 2 3 4
  6142.  
  6143.  
  6144.  
  6145. # 32 "./qemu-common.h" 2
  6146. # 1 "/usr/include/sys/stat.h" 1 3 4
  6147. # 105 "/usr/include/sys/stat.h" 3 4
  6148.  
  6149.  
  6150. # 1 "/usr/include/bits/stat.h" 1 3 4
  6151. # 108 "/usr/include/sys/stat.h" 2 3 4
  6152. # 219 "/usr/include/sys/stat.h" 3 4
  6153. extern int stat (__const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "stat64") __attribute__ ((__nothrow__))
  6154.  
  6155. __attribute__ ((__nonnull__ (1, 2)));
  6156. extern int fstat (int __fd, struct stat *__buf) __asm__ ("" "fstat64") __attribute__ ((__nothrow__))
  6157. __attribute__ ((__nonnull__ (2)));
  6158.  
  6159.  
  6160.  
  6161.  
  6162.  
  6163.  
  6164. extern int stat64 (__const char *__restrict __file,
  6165. struct stat64 *__restrict __buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  6166. extern int fstat64 (int __fd, struct stat64 *__buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  6167. # 245 "/usr/include/sys/stat.h" 3 4
  6168. extern int fstatat (int __fd, __const char *__restrict __file, struct stat *__restrict __buf, int __flag) __asm__ ("" "fstatat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
  6169. # 255 "/usr/include/sys/stat.h" 3 4
  6170. extern int fstatat64 (int __fd, __const char *__restrict __file,
  6171. struct stat64 *__restrict __buf, int __flag)
  6172. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
  6173. # 269 "/usr/include/sys/stat.h" 3 4
  6174. extern int lstat (__const char *__restrict __file, struct stat *__restrict __buf) __asm__ ("" "lstat64") __attribute__ ((__nothrow__))
  6175.  
  6176.  
  6177. __attribute__ ((__nonnull__ (1, 2)));
  6178.  
  6179.  
  6180.  
  6181.  
  6182.  
  6183. extern int lstat64 (__const char *__restrict __file,
  6184. struct stat64 *__restrict __buf)
  6185. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2)));
  6186.  
  6187.  
  6188.  
  6189.  
  6190.  
  6191. extern int chmod (__const char *__file, __mode_t __mode)
  6192. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6193.  
  6194.  
  6195.  
  6196.  
  6197.  
  6198. extern int lchmod (__const char *__file, __mode_t __mode)
  6199. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6200.  
  6201.  
  6202.  
  6203.  
  6204. extern int fchmod (int __fd, __mode_t __mode) __attribute__ ((__nothrow__));
  6205.  
  6206.  
  6207.  
  6208.  
  6209.  
  6210. extern int fchmodat (int __fd, __const char *__file, __mode_t __mode,
  6211. int __flag)
  6212. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2))) __attribute__ ((__warn_unused_result__));
  6213.  
  6214.  
  6215.  
  6216.  
  6217.  
  6218.  
  6219. extern __mode_t umask (__mode_t __mask) __attribute__ ((__nothrow__));
  6220.  
  6221.  
  6222.  
  6223.  
  6224. extern __mode_t getumask (void) __attribute__ ((__nothrow__));
  6225.  
  6226.  
  6227.  
  6228. extern int mkdir (__const char *__path, __mode_t __mode)
  6229. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6230.  
  6231.  
  6232.  
  6233.  
  6234.  
  6235. extern int mkdirat (int __fd, __const char *__path, __mode_t __mode)
  6236. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  6237.  
  6238.  
  6239.  
  6240.  
  6241.  
  6242.  
  6243. extern int mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
  6244. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6245.  
  6246.  
  6247.  
  6248.  
  6249.  
  6250. extern int mknodat (int __fd, __const char *__path, __mode_t __mode,
  6251. __dev_t __dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  6252.  
  6253.  
  6254.  
  6255.  
  6256.  
  6257. extern int mkfifo (__const char *__path, __mode_t __mode)
  6258. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6259.  
  6260.  
  6261.  
  6262.  
  6263.  
  6264. extern int mkfifoat (int __fd, __const char *__path, __mode_t __mode)
  6265. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  6266.  
  6267.  
  6268.  
  6269.  
  6270.  
  6271. extern int utimensat (int __fd, __const char *__path,
  6272. __const struct timespec __times[2],
  6273. int __flags)
  6274. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2)));
  6275.  
  6276.  
  6277.  
  6278.  
  6279. extern int futimens (int __fd, __const struct timespec __times[2]) __attribute__ ((__nothrow__));
  6280. # 412 "/usr/include/sys/stat.h" 3 4
  6281. extern int __fxstat (int __ver, int __fildes, struct stat *__stat_buf) __asm__ ("" "__fxstat64") __attribute__ ((__nothrow__))
  6282.  
  6283. __attribute__ ((__nonnull__ (3)));
  6284. extern int __xstat (int __ver, __const char *__filename, struct stat *__stat_buf) __asm__ ("" "__xstat64") __attribute__ ((__nothrow__))
  6285.  
  6286. __attribute__ ((__nonnull__ (2, 3)));
  6287. extern int __lxstat (int __ver, __const char *__filename, struct stat *__stat_buf) __asm__ ("" "__lxstat64") __attribute__ ((__nothrow__))
  6288.  
  6289. __attribute__ ((__nonnull__ (2, 3)));
  6290. extern int __fxstatat (int __ver, int __fildes, __const char *__filename, struct stat *__stat_buf, int __flag) __asm__ ("" "__fxstatat64") __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
  6291. # 434 "/usr/include/sys/stat.h" 3 4
  6292. extern int __fxstat64 (int __ver, int __fildes, struct stat64 *__stat_buf)
  6293. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3)));
  6294. extern int __xstat64 (int __ver, __const char *__filename,
  6295. struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
  6296. extern int __lxstat64 (int __ver, __const char *__filename,
  6297. struct stat64 *__stat_buf) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 3)));
  6298. extern int __fxstatat64 (int __ver, int __fildes, __const char *__filename,
  6299. struct stat64 *__stat_buf, int __flag)
  6300. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 4)));
  6301.  
  6302. extern int __xmknod (int __ver, __const char *__path, __mode_t __mode,
  6303. __dev_t *__dev) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (2, 4)));
  6304.  
  6305. extern int __xmknodat (int __ver, int __fd, __const char *__path,
  6306. __mode_t __mode, __dev_t *__dev)
  6307. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (3, 5)));
  6308.  
  6309.  
  6310.  
  6311.  
  6312. extern __inline int
  6313. __attribute__ ((__nothrow__)) stat (__const char *__path, struct stat *__statbuf)
  6314. {
  6315. return __xstat (1, __path, __statbuf);
  6316. }
  6317.  
  6318.  
  6319. extern __inline int
  6320. __attribute__ ((__nothrow__)) lstat (__const char *__path, struct stat *__statbuf)
  6321. {
  6322. return __lxstat (1, __path, __statbuf);
  6323. }
  6324.  
  6325.  
  6326. extern __inline int
  6327. __attribute__ ((__nothrow__)) fstat (int __fd, struct stat *__statbuf)
  6328. {
  6329. return __fxstat (1, __fd, __statbuf);
  6330. }
  6331.  
  6332.  
  6333. extern __inline int
  6334. __attribute__ ((__nothrow__)) fstatat (int __fd, __const char *__filename, struct stat *__statbuf, int __flag)
  6335.  
  6336. {
  6337. return __fxstatat (1, __fd, __filename, __statbuf, __flag);
  6338. }
  6339.  
  6340.  
  6341.  
  6342. extern __inline int
  6343. __attribute__ ((__nothrow__)) mknod (__const char *__path, __mode_t __mode, __dev_t __dev)
  6344. {
  6345. return __xmknod (0, __path, __mode, &__dev);
  6346. }
  6347.  
  6348.  
  6349.  
  6350. extern __inline int
  6351. __attribute__ ((__nothrow__)) mknodat (int __fd, __const char *__path, __mode_t __mode, __dev_t __dev)
  6352.  
  6353. {
  6354. return __xmknodat (0, __fd, __path, __mode, &__dev);
  6355. }
  6356.  
  6357.  
  6358.  
  6359.  
  6360.  
  6361. extern __inline int
  6362. __attribute__ ((__nothrow__)) stat64 (__const char *__path, struct stat64 *__statbuf)
  6363. {
  6364. return __xstat64 (1, __path, __statbuf);
  6365. }
  6366.  
  6367.  
  6368. extern __inline int
  6369. __attribute__ ((__nothrow__)) lstat64 (__const char *__path, struct stat64 *__statbuf)
  6370. {
  6371. return __lxstat64 (1, __path, __statbuf);
  6372. }
  6373.  
  6374.  
  6375. extern __inline int
  6376. __attribute__ ((__nothrow__)) fstat64 (int __fd, struct stat64 *__statbuf)
  6377. {
  6378. return __fxstat64 (1, __fd, __statbuf);
  6379. }
  6380.  
  6381.  
  6382. extern __inline int
  6383. __attribute__ ((__nothrow__)) fstatat64 (int __fd, __const char *__filename, struct stat64 *__statbuf, int __flag)
  6384.  
  6385. {
  6386. return __fxstatat64 (1, __fd, __filename, __statbuf, __flag);
  6387. }
  6388.  
  6389.  
  6390.  
  6391.  
  6392.  
  6393.  
  6394.  
  6395. # 33 "./qemu-common.h" 2
  6396. # 1 "/usr/include/sys/time.h" 1 3 4
  6397. # 29 "/usr/include/sys/time.h" 3 4
  6398. # 1 "/usr/include/bits/time.h" 1 3 4
  6399. # 30 "/usr/include/sys/time.h" 2 3 4
  6400. # 39 "/usr/include/sys/time.h" 3 4
  6401.  
  6402. # 57 "/usr/include/sys/time.h" 3 4
  6403. struct timezone
  6404. {
  6405. int tz_minuteswest;
  6406. int tz_dsttime;
  6407. };
  6408.  
  6409. typedef struct timezone *__restrict __timezone_ptr_t;
  6410. # 73 "/usr/include/sys/time.h" 3 4
  6411. extern int gettimeofday (struct timeval *__restrict __tv,
  6412. __timezone_ptr_t __tz) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6413.  
  6414.  
  6415.  
  6416.  
  6417. extern int settimeofday (__const struct timeval *__tv,
  6418. __const struct timezone *__tz)
  6419. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6420.  
  6421.  
  6422.  
  6423.  
  6424.  
  6425. extern int adjtime (__const struct timeval *__delta,
  6426. struct timeval *__olddelta) __attribute__ ((__nothrow__));
  6427.  
  6428.  
  6429.  
  6430.  
  6431. enum __itimer_which
  6432. {
  6433.  
  6434. ITIMER_REAL = 0,
  6435.  
  6436.  
  6437. ITIMER_VIRTUAL = 1,
  6438.  
  6439.  
  6440.  
  6441. ITIMER_PROF = 2
  6442.  
  6443. };
  6444.  
  6445.  
  6446.  
  6447. struct itimerval
  6448. {
  6449.  
  6450. struct timeval it_interval;
  6451.  
  6452. struct timeval it_value;
  6453. };
  6454.  
  6455.  
  6456.  
  6457.  
  6458. typedef enum __itimer_which __itimer_which_t;
  6459.  
  6460.  
  6461.  
  6462.  
  6463.  
  6464.  
  6465. extern int getitimer (__itimer_which_t __which,
  6466. struct itimerval *__value) __attribute__ ((__nothrow__));
  6467.  
  6468.  
  6469.  
  6470.  
  6471. extern int setitimer (__itimer_which_t __which,
  6472. __const struct itimerval *__restrict __new,
  6473. struct itimerval *__restrict __old) __attribute__ ((__nothrow__));
  6474.  
  6475.  
  6476.  
  6477.  
  6478. extern int utimes (__const char *__file, __const struct timeval __tvp[2])
  6479. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6480.  
  6481.  
  6482.  
  6483. extern int lutimes (__const char *__file, __const struct timeval __tvp[2])
  6484. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6485.  
  6486.  
  6487. extern int futimes (int __fd, __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
  6488.  
  6489.  
  6490.  
  6491.  
  6492.  
  6493.  
  6494. extern int futimesat (int __fd, __const char *__file,
  6495. __const struct timeval __tvp[2]) __attribute__ ((__nothrow__));
  6496. # 191 "/usr/include/sys/time.h" 3 4
  6497.  
  6498. # 34 "./qemu-common.h" 2
  6499. # 1 "/usr/include/assert.h" 1 3 4
  6500. # 68 "/usr/include/assert.h" 3 4
  6501.  
  6502.  
  6503.  
  6504. extern void __assert_fail (__const char *__assertion, __const char *__file,
  6505. unsigned int __line, __const char *__function)
  6506. __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
  6507.  
  6508.  
  6509. extern void __assert_perror_fail (int __errnum, __const char *__file,
  6510. unsigned int __line,
  6511. __const char *__function)
  6512. __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
  6513.  
  6514.  
  6515.  
  6516.  
  6517. extern void __assert (const char *__assertion, const char *__file, int __line)
  6518. __attribute__ ((__nothrow__)) __attribute__ ((__noreturn__));
  6519.  
  6520.  
  6521.  
  6522. # 35 "./qemu-common.h" 2
  6523. # 1 "/usr/include/signal.h" 1 3 4
  6524. # 31 "/usr/include/signal.h" 3 4
  6525.  
  6526.  
  6527. # 1 "/usr/include/bits/sigset.h" 1 3 4
  6528. # 104 "/usr/include/bits/sigset.h" 3 4
  6529. extern int __sigismember (__const __sigset_t *, int);
  6530. extern int __sigaddset (__sigset_t *, int);
  6531. extern int __sigdelset (__sigset_t *, int);
  6532. # 118 "/usr/include/bits/sigset.h" 3 4
  6533. extern __inline int __sigismember (__const __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return (__set->__val[__word] & __mask) ? 1 : 0; }
  6534. extern __inline int __sigaddset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] |= __mask), 0); }
  6535. extern __inline int __sigdelset ( __sigset_t *__set, int __sig) { unsigned long int __mask = (((unsigned long int) 1) << (((__sig) - 1) % (8 * sizeof (unsigned long int)))); unsigned long int __word = (((__sig) - 1) / (8 * sizeof (unsigned long int))); return ((__set->__val[__word] &= ~__mask), 0); }
  6536. # 34 "/usr/include/signal.h" 2 3 4
  6537.  
  6538.  
  6539.  
  6540.  
  6541.  
  6542.  
  6543.  
  6544. typedef __sig_atomic_t sig_atomic_t;
  6545.  
  6546. # 58 "/usr/include/signal.h" 3 4
  6547. # 1 "/usr/include/bits/signum.h" 1 3 4
  6548. # 59 "/usr/include/signal.h" 2 3 4
  6549. # 79 "/usr/include/signal.h" 3 4
  6550. # 1 "/usr/include/bits/siginfo.h" 1 3 4
  6551. # 25 "/usr/include/bits/siginfo.h" 3 4
  6552. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  6553. # 26 "/usr/include/bits/siginfo.h" 2 3 4
  6554.  
  6555.  
  6556.  
  6557.  
  6558.  
  6559.  
  6560.  
  6561. typedef union sigval
  6562. {
  6563. int sival_int;
  6564. void *sival_ptr;
  6565. } sigval_t;
  6566. # 51 "/usr/include/bits/siginfo.h" 3 4
  6567. typedef struct siginfo
  6568. {
  6569. int si_signo;
  6570. int si_errno;
  6571.  
  6572. int si_code;
  6573.  
  6574. union
  6575. {
  6576. int _pad[((128 / sizeof (int)) - 4)];
  6577.  
  6578.  
  6579. struct
  6580. {
  6581. __pid_t si_pid;
  6582. __uid_t si_uid;
  6583. } _kill;
  6584.  
  6585.  
  6586. struct
  6587. {
  6588. int si_tid;
  6589. int si_overrun;
  6590. sigval_t si_sigval;
  6591. } _timer;
  6592.  
  6593.  
  6594. struct
  6595. {
  6596. __pid_t si_pid;
  6597. __uid_t si_uid;
  6598. sigval_t si_sigval;
  6599. } _rt;
  6600.  
  6601.  
  6602. struct
  6603. {
  6604. __pid_t si_pid;
  6605. __uid_t si_uid;
  6606. int si_status;
  6607. __clock_t si_utime;
  6608. __clock_t si_stime;
  6609. } _sigchld;
  6610.  
  6611.  
  6612. struct
  6613. {
  6614. void *si_addr;
  6615. } _sigfault;
  6616.  
  6617.  
  6618. struct
  6619. {
  6620. long int si_band;
  6621. int si_fd;
  6622. } _sigpoll;
  6623. } _sifields;
  6624. } siginfo_t;
  6625. # 129 "/usr/include/bits/siginfo.h" 3 4
  6626. enum
  6627. {
  6628. SI_ASYNCNL = -60,
  6629.  
  6630. SI_TKILL = -6,
  6631.  
  6632. SI_SIGIO,
  6633.  
  6634. SI_ASYNCIO,
  6635.  
  6636. SI_MESGQ,
  6637.  
  6638. SI_TIMER,
  6639.  
  6640. SI_QUEUE,
  6641.  
  6642. SI_USER,
  6643.  
  6644. SI_KERNEL = 0x80
  6645.  
  6646. };
  6647.  
  6648.  
  6649.  
  6650. enum
  6651. {
  6652. ILL_ILLOPC = 1,
  6653.  
  6654. ILL_ILLOPN,
  6655.  
  6656. ILL_ILLADR,
  6657.  
  6658. ILL_ILLTRP,
  6659.  
  6660. ILL_PRVOPC,
  6661.  
  6662. ILL_PRVREG,
  6663.  
  6664. ILL_COPROC,
  6665.  
  6666. ILL_BADSTK
  6667.  
  6668. };
  6669.  
  6670.  
  6671. enum
  6672. {
  6673. FPE_INTDIV = 1,
  6674.  
  6675. FPE_INTOVF,
  6676.  
  6677. FPE_FLTDIV,
  6678.  
  6679. FPE_FLTOVF,
  6680.  
  6681. FPE_FLTUND,
  6682.  
  6683. FPE_FLTRES,
  6684.  
  6685. FPE_FLTINV,
  6686.  
  6687. FPE_FLTSUB
  6688.  
  6689. };
  6690.  
  6691.  
  6692. enum
  6693. {
  6694. SEGV_MAPERR = 1,
  6695.  
  6696. SEGV_ACCERR
  6697.  
  6698. };
  6699.  
  6700.  
  6701. enum
  6702. {
  6703. BUS_ADRALN = 1,
  6704.  
  6705. BUS_ADRERR,
  6706.  
  6707. BUS_OBJERR
  6708.  
  6709. };
  6710.  
  6711.  
  6712. enum
  6713. {
  6714. TRAP_BRKPT = 1,
  6715.  
  6716. TRAP_TRACE
  6717.  
  6718. };
  6719.  
  6720.  
  6721. enum
  6722. {
  6723. CLD_EXITED = 1,
  6724.  
  6725. CLD_KILLED,
  6726.  
  6727. CLD_DUMPED,
  6728.  
  6729. CLD_TRAPPED,
  6730.  
  6731. CLD_STOPPED,
  6732.  
  6733. CLD_CONTINUED
  6734.  
  6735. };
  6736.  
  6737.  
  6738. enum
  6739. {
  6740. POLL_IN = 1,
  6741.  
  6742. POLL_OUT,
  6743.  
  6744. POLL_MSG,
  6745.  
  6746. POLL_ERR,
  6747.  
  6748. POLL_PRI,
  6749.  
  6750. POLL_HUP
  6751.  
  6752. };
  6753. # 273 "/usr/include/bits/siginfo.h" 3 4
  6754. typedef struct sigevent
  6755. {
  6756. sigval_t sigev_value;
  6757. int sigev_signo;
  6758. int sigev_notify;
  6759.  
  6760. union
  6761. {
  6762. int _pad[((64 / sizeof (int)) - 4)];
  6763.  
  6764.  
  6765.  
  6766. __pid_t _tid;
  6767.  
  6768. struct
  6769. {
  6770. void (*_function) (sigval_t);
  6771. void *_attribute;
  6772. } _sigev_thread;
  6773. } _sigev_un;
  6774. } sigevent_t;
  6775.  
  6776.  
  6777.  
  6778.  
  6779.  
  6780.  
  6781. enum
  6782. {
  6783. SIGEV_SIGNAL = 0,
  6784.  
  6785. SIGEV_NONE,
  6786.  
  6787. SIGEV_THREAD,
  6788.  
  6789.  
  6790. SIGEV_THREAD_ID = 4
  6791.  
  6792. };
  6793. # 80 "/usr/include/signal.h" 2 3 4
  6794.  
  6795.  
  6796.  
  6797.  
  6798. typedef void (*__sighandler_t) (int);
  6799.  
  6800.  
  6801.  
  6802.  
  6803. extern __sighandler_t __sysv_signal (int __sig, __sighandler_t __handler)
  6804. __attribute__ ((__nothrow__));
  6805.  
  6806. extern __sighandler_t sysv_signal (int __sig, __sighandler_t __handler)
  6807. __attribute__ ((__nothrow__));
  6808.  
  6809.  
  6810.  
  6811.  
  6812.  
  6813.  
  6814.  
  6815. extern __sighandler_t signal (int __sig, __sighandler_t __handler)
  6816. __attribute__ ((__nothrow__));
  6817. # 113 "/usr/include/signal.h" 3 4
  6818.  
  6819.  
  6820.  
  6821.  
  6822.  
  6823. extern __sighandler_t bsd_signal (int __sig, __sighandler_t __handler)
  6824. __attribute__ ((__nothrow__));
  6825.  
  6826.  
  6827.  
  6828.  
  6829.  
  6830.  
  6831. extern int kill (__pid_t __pid, int __sig) __attribute__ ((__nothrow__));
  6832.  
  6833.  
  6834.  
  6835.  
  6836.  
  6837.  
  6838. extern int killpg (__pid_t __pgrp, int __sig) __attribute__ ((__nothrow__));
  6839.  
  6840.  
  6841.  
  6842.  
  6843. extern int raise (int __sig) __attribute__ ((__nothrow__));
  6844.  
  6845.  
  6846.  
  6847.  
  6848. extern __sighandler_t ssignal (int __sig, __sighandler_t __handler)
  6849. __attribute__ ((__nothrow__));
  6850. extern int gsignal (int __sig) __attribute__ ((__nothrow__));
  6851.  
  6852.  
  6853.  
  6854.  
  6855. extern void psignal (int __sig, __const char *__s);
  6856.  
  6857.  
  6858.  
  6859.  
  6860. extern void psiginfo (__const siginfo_t *__pinfo, __const char *__s);
  6861. # 168 "/usr/include/signal.h" 3 4
  6862. extern int __sigpause (int __sig_or_mask, int __is_sig);
  6863. # 177 "/usr/include/signal.h" 3 4
  6864. extern int sigpause (int __sig) __asm__ ("__xpg_sigpause");
  6865. # 196 "/usr/include/signal.h" 3 4
  6866. extern int sigblock (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
  6867.  
  6868.  
  6869. extern int sigsetmask (int __mask) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
  6870.  
  6871.  
  6872. extern int siggetmask (void) __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
  6873. # 211 "/usr/include/signal.h" 3 4
  6874. typedef __sighandler_t sighandler_t;
  6875.  
  6876.  
  6877.  
  6878.  
  6879. typedef __sighandler_t sig_t;
  6880.  
  6881.  
  6882.  
  6883.  
  6884.  
  6885. extern int sigemptyset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6886.  
  6887.  
  6888. extern int sigfillset (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6889.  
  6890.  
  6891. extern int sigaddset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6892.  
  6893.  
  6894. extern int sigdelset (sigset_t *__set, int __signo) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6895.  
  6896.  
  6897. extern int sigismember (__const sigset_t *__set, int __signo)
  6898. __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6899.  
  6900.  
  6901.  
  6902. extern int sigisemptyset (__const sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6903.  
  6904.  
  6905. extern int sigandset (sigset_t *__set, __const sigset_t *__left,
  6906. __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
  6907.  
  6908.  
  6909. extern int sigorset (sigset_t *__set, __const sigset_t *__left,
  6910. __const sigset_t *__right) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1, 2, 3)));
  6911.  
  6912.  
  6913.  
  6914.  
  6915. # 1 "/usr/include/bits/sigaction.h" 1 3 4
  6916. # 25 "/usr/include/bits/sigaction.h" 3 4
  6917. struct sigaction
  6918. {
  6919.  
  6920.  
  6921. union
  6922. {
  6923.  
  6924. __sighandler_t sa_handler;
  6925.  
  6926. void (*sa_sigaction) (int, siginfo_t *, void *);
  6927. }
  6928. __sigaction_handler;
  6929.  
  6930.  
  6931.  
  6932.  
  6933.  
  6934.  
  6935.  
  6936. __sigset_t sa_mask;
  6937.  
  6938.  
  6939. int sa_flags;
  6940.  
  6941.  
  6942. void (*sa_restorer) (void);
  6943. };
  6944. # 253 "/usr/include/signal.h" 2 3 4
  6945.  
  6946.  
  6947. extern int sigprocmask (int __how, __const sigset_t *__restrict __set,
  6948. sigset_t *__restrict __oset) __attribute__ ((__nothrow__));
  6949.  
  6950.  
  6951.  
  6952.  
  6953.  
  6954.  
  6955. extern int sigsuspend (__const sigset_t *__set) __attribute__ ((__nonnull__ (1)));
  6956.  
  6957.  
  6958. extern int sigaction (int __sig, __const struct sigaction *__restrict __act,
  6959. struct sigaction *__restrict __oact) __attribute__ ((__nothrow__));
  6960.  
  6961.  
  6962. extern int sigpending (sigset_t *__set) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1)));
  6963.  
  6964.  
  6965.  
  6966.  
  6967.  
  6968.  
  6969. extern int sigwait (__const sigset_t *__restrict __set, int *__restrict __sig)
  6970. __attribute__ ((__nonnull__ (1, 2)));
  6971.  
  6972.  
  6973.  
  6974.  
  6975.  
  6976.  
  6977. extern int sigwaitinfo (__const sigset_t *__restrict __set,
  6978. siginfo_t *__restrict __info) __attribute__ ((__nonnull__ (1)));
  6979.  
  6980.  
  6981.  
  6982.  
  6983.  
  6984.  
  6985. extern int sigtimedwait (__const sigset_t *__restrict __set,
  6986. siginfo_t *__restrict __info,
  6987. __const struct timespec *__restrict __timeout)
  6988. __attribute__ ((__nonnull__ (1)));
  6989.  
  6990.  
  6991.  
  6992. extern int sigqueue (__pid_t __pid, int __sig, __const union sigval __val)
  6993. __attribute__ ((__nothrow__));
  6994. # 310 "/usr/include/signal.h" 3 4
  6995. extern __const char *__const _sys_siglist[65];
  6996. extern __const char *__const sys_siglist[65];
  6997.  
  6998.  
  6999. struct sigvec
  7000. {
  7001. __sighandler_t sv_handler;
  7002. int sv_mask;
  7003.  
  7004. int sv_flags;
  7005.  
  7006. };
  7007. # 334 "/usr/include/signal.h" 3 4
  7008. extern int sigvec (int __sig, __const struct sigvec *__vec,
  7009. struct sigvec *__ovec) __attribute__ ((__nothrow__));
  7010.  
  7011.  
  7012.  
  7013. # 1 "/usr/include/bits/sigcontext.h" 1 3 4
  7014. # 26 "/usr/include/bits/sigcontext.h" 3 4
  7015. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  7016. # 27 "/usr/include/bits/sigcontext.h" 2 3 4
  7017.  
  7018. struct _fpreg
  7019. {
  7020. unsigned short significand[4];
  7021. unsigned short exponent;
  7022. };
  7023.  
  7024. struct _fpxreg
  7025. {
  7026. unsigned short significand[4];
  7027. unsigned short exponent;
  7028. unsigned short padding[3];
  7029. };
  7030.  
  7031. struct _xmmreg
  7032. {
  7033. __uint32_t element[4];
  7034. };
  7035. # 109 "/usr/include/bits/sigcontext.h" 3 4
  7036. struct _fpstate
  7037. {
  7038.  
  7039. __uint16_t cwd;
  7040. __uint16_t swd;
  7041. __uint16_t ftw;
  7042. __uint16_t fop;
  7043. __uint64_t rip;
  7044. __uint64_t rdp;
  7045. __uint32_t mxcsr;
  7046. __uint32_t mxcr_mask;
  7047. struct _fpxreg _st[8];
  7048. struct _xmmreg _xmm[16];
  7049. __uint32_t padding[24];
  7050. };
  7051.  
  7052. struct sigcontext
  7053. {
  7054. unsigned long r8;
  7055. unsigned long r9;
  7056. unsigned long r10;
  7057. unsigned long r11;
  7058. unsigned long r12;
  7059. unsigned long r13;
  7060. unsigned long r14;
  7061. unsigned long r15;
  7062. unsigned long rdi;
  7063. unsigned long rsi;
  7064. unsigned long rbp;
  7065. unsigned long rbx;
  7066. unsigned long rdx;
  7067. unsigned long rax;
  7068. unsigned long rcx;
  7069. unsigned long rsp;
  7070. unsigned long rip;
  7071. unsigned long eflags;
  7072. unsigned short cs;
  7073. unsigned short gs;
  7074. unsigned short fs;
  7075. unsigned short __pad0;
  7076. unsigned long err;
  7077. unsigned long trapno;
  7078. unsigned long oldmask;
  7079. unsigned long cr2;
  7080. struct _fpstate * fpstate;
  7081. unsigned long __reserved1 [8];
  7082. };
  7083. # 340 "/usr/include/signal.h" 2 3 4
  7084.  
  7085.  
  7086. extern int sigreturn (struct sigcontext *__scp) __attribute__ ((__nothrow__));
  7087.  
  7088.  
  7089.  
  7090.  
  7091.  
  7092.  
  7093. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 1 3 4
  7094. # 350 "/usr/include/signal.h" 2 3 4
  7095.  
  7096.  
  7097.  
  7098.  
  7099. extern int siginterrupt (int __sig, int __interrupt) __attribute__ ((__nothrow__));
  7100.  
  7101. # 1 "/usr/include/bits/sigstack.h" 1 3 4
  7102. # 26 "/usr/include/bits/sigstack.h" 3 4
  7103. struct sigstack
  7104. {
  7105. void *ss_sp;
  7106. int ss_onstack;
  7107. };
  7108.  
  7109.  
  7110.  
  7111. enum
  7112. {
  7113. SS_ONSTACK = 1,
  7114.  
  7115. SS_DISABLE
  7116.  
  7117. };
  7118. # 50 "/usr/include/bits/sigstack.h" 3 4
  7119. typedef struct sigaltstack
  7120. {
  7121. void *ss_sp;
  7122. int ss_flags;
  7123. size_t ss_size;
  7124. } stack_t;
  7125. # 357 "/usr/include/signal.h" 2 3 4
  7126.  
  7127.  
  7128. # 1 "/usr/include/sys/ucontext.h" 1 3 4
  7129. # 23 "/usr/include/sys/ucontext.h" 3 4
  7130. # 1 "/usr/include/signal.h" 1 3 4
  7131. # 24 "/usr/include/sys/ucontext.h" 2 3 4
  7132. # 1 "/usr/include/bits/wordsize.h" 1 3 4
  7133. # 25 "/usr/include/sys/ucontext.h" 2 3 4
  7134. # 33 "/usr/include/sys/ucontext.h" 3 4
  7135. typedef long int greg_t;
  7136.  
  7137.  
  7138.  
  7139.  
  7140.  
  7141. typedef greg_t gregset_t[23];
  7142.  
  7143.  
  7144.  
  7145. enum
  7146. {
  7147. REG_R8 = 0,
  7148.  
  7149. REG_R9,
  7150.  
  7151. REG_R10,
  7152.  
  7153. REG_R11,
  7154.  
  7155. REG_R12,
  7156.  
  7157. REG_R13,
  7158.  
  7159. REG_R14,
  7160.  
  7161. REG_R15,
  7162.  
  7163. REG_RDI,
  7164.  
  7165. REG_RSI,
  7166.  
  7167. REG_RBP,
  7168.  
  7169. REG_RBX,
  7170.  
  7171. REG_RDX,
  7172.  
  7173. REG_RAX,
  7174.  
  7175. REG_RCX,
  7176.  
  7177. REG_RSP,
  7178.  
  7179. REG_RIP,
  7180.  
  7181. REG_EFL,
  7182.  
  7183. REG_CSGSFS,
  7184.  
  7185. REG_ERR,
  7186.  
  7187. REG_TRAPNO,
  7188.  
  7189. REG_OLDMASK,
  7190.  
  7191. REG_CR2
  7192.  
  7193. };
  7194.  
  7195.  
  7196. struct _libc_fpxreg
  7197. {
  7198. unsigned short int significand[4];
  7199. unsigned short int exponent;
  7200. unsigned short int padding[3];
  7201. };
  7202.  
  7203. struct _libc_xmmreg
  7204. {
  7205. __uint32_t element[4];
  7206. };
  7207.  
  7208. struct _libc_fpstate
  7209. {
  7210.  
  7211. __uint16_t cwd;
  7212. __uint16_t swd;
  7213. __uint16_t ftw;
  7214. __uint16_t fop;
  7215. __uint64_t rip;
  7216. __uint64_t rdp;
  7217. __uint32_t mxcsr;
  7218. __uint32_t mxcr_mask;
  7219. struct _libc_fpxreg _st[8];
  7220. struct _libc_xmmreg _xmm[16];
  7221. __uint32_t padding[24];
  7222. };
  7223.  
  7224.  
  7225. typedef struct _libc_fpstate *fpregset_t;
  7226.  
  7227.  
  7228. typedef struct
  7229. {
  7230. gregset_t gregs;
  7231.  
  7232. fpregset_t fpregs;
  7233. unsigned long __reserved1 [8];
  7234. } mcontext_t;
  7235.  
  7236.  
  7237. typedef struct ucontext
  7238. {
  7239. unsigned long int uc_flags;
  7240. struct ucontext *uc_link;
  7241. stack_t uc_stack;
  7242. mcontext_t uc_mcontext;
  7243. __sigset_t uc_sigmask;
  7244. struct _libc_fpstate __fpregs_mem;
  7245. } ucontext_t;
  7246. # 360 "/usr/include/signal.h" 2 3 4
  7247.  
  7248.  
  7249.  
  7250.  
  7251.  
  7252. extern int sigstack (struct sigstack *__ss, struct sigstack *__oss)
  7253. __attribute__ ((__nothrow__)) __attribute__ ((__deprecated__));
  7254.  
  7255.  
  7256.  
  7257. extern int sigaltstack (__const struct sigaltstack *__restrict __ss,
  7258. struct sigaltstack *__restrict __oss) __attribute__ ((__nothrow__));
  7259.  
  7260.  
  7261.  
  7262.  
  7263.  
  7264.  
  7265.  
  7266. extern int sighold (int __sig) __attribute__ ((__nothrow__));
  7267.  
  7268.  
  7269. extern int sigrelse (int __sig) __attribute__ ((__nothrow__));
  7270.  
  7271.  
  7272. extern int sigignore (int __sig) __attribute__ ((__nothrow__));
  7273.  
  7274.  
  7275. extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __attribute__ ((__nothrow__));
  7276.  
  7277.  
  7278.  
  7279.  
  7280.  
  7281.  
  7282. # 1 "/usr/include/bits/sigthread.h" 1 3 4
  7283. # 31 "/usr/include/bits/sigthread.h" 3 4
  7284. extern int pthread_sigmask (int __how,
  7285. __const __sigset_t *__restrict __newmask,
  7286. __sigset_t *__restrict __oldmask)__attribute__ ((__nothrow__));
  7287.  
  7288.  
  7289. extern int pthread_kill (pthread_t __threadid, int __signo) __attribute__ ((__nothrow__));
  7290.  
  7291.  
  7292.  
  7293. extern int pthread_sigqueue (pthread_t __threadid, int __signo,
  7294. const union sigval __value) __attribute__ ((__nothrow__));
  7295. # 396 "/usr/include/signal.h" 2 3 4
  7296.  
  7297.  
  7298.  
  7299.  
  7300.  
  7301.  
  7302. extern int __libc_current_sigrtmin (void) __attribute__ ((__nothrow__));
  7303.  
  7304. extern int __libc_current_sigrtmax (void) __attribute__ ((__nothrow__));
  7305.  
  7306.  
  7307.  
  7308.  
  7309. # 36 "./qemu-common.h" 2
  7310.  
  7311.  
  7312.  
  7313.  
  7314.  
  7315.  
  7316. # 1 "./qemu-os-posix.h" 1
  7317. # 29 "./qemu-os-posix.h"
  7318. static inline void os_host_main_loop_wait(int *timeout)
  7319. {
  7320. }
  7321.  
  7322. void os_set_line_buffering(void);
  7323. void os_set_proc_name(const char *s);
  7324. void os_setup_signal_handling(void);
  7325. void os_daemonize(void);
  7326. void os_setup_post(void);
  7327.  
  7328. typedef struct timeval qemu_timeval;
  7329. # 50 "./qemu-os-posix.h"
  7330. typedef struct timespec qemu_timespec;
  7331. int qemu_utimensat(int dirfd, const char *path, const qemu_timespec *times,
  7332. int flags);
  7333. # 43 "./qemu-common.h" 2
  7334. # 75 "./qemu-common.h"
  7335. # 1 "/usr/include/sys/uio.h" 1 3 4
  7336. # 26 "/usr/include/sys/uio.h" 3 4
  7337.  
  7338.  
  7339.  
  7340. # 1 "/usr/include/bits/uio.h" 1 3 4
  7341. # 30 "/usr/include/sys/uio.h" 2 3 4
  7342. # 40 "/usr/include/sys/uio.h" 3 4
  7343. extern ssize_t readv (int __fd, __const struct iovec *__iovec, int __count)
  7344. __attribute__ ((__warn_unused_result__));
  7345. # 51 "/usr/include/sys/uio.h" 3 4
  7346. extern ssize_t writev (int __fd, __const struct iovec *__iovec, int __count)
  7347. __attribute__ ((__warn_unused_result__));
  7348. # 82 "/usr/include/sys/uio.h" 3 4
  7349. extern ssize_t preadv (int __fd, __const struct iovec *__iovec, int __count, __off64_t __offset) __asm__ ("" "preadv64") __attribute__ ((__warn_unused_result__));
  7350.  
  7351.  
  7352. extern ssize_t pwritev (int __fd, __const struct iovec *__iovec, int __count, __off64_t __offset) __asm__ ("" "pwritev64") __attribute__ ((__warn_unused_result__));
  7353. # 104 "/usr/include/sys/uio.h" 3 4
  7354. extern ssize_t preadv64 (int __fd, __const struct iovec *__iovec, int __count,
  7355. __off64_t __offset) __attribute__ ((__warn_unused_result__));
  7356. # 116 "/usr/include/sys/uio.h" 3 4
  7357. extern ssize_t pwritev64 (int __fd, __const struct iovec *__iovec, int __count,
  7358. __off64_t __offset) __attribute__ ((__warn_unused_result__));
  7359.  
  7360.  
  7361.  
  7362.  
  7363. # 76 "./qemu-common.h" 2
  7364.  
  7365.  
  7366. typedef int (*fprintf_function)(FILE *f, const char *fmt, ...)
  7367. __attribute__((format(gnu_printf, 2, 3)));
  7368. # 97 "./qemu-common.h"
  7369. # 1 "./osdep.h" 1
  7370.  
  7371.  
  7372.  
  7373.  
  7374. # 1 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 1 3 4
  7375. # 149 "/usr/lib/gcc/x86_64-linux-gnu/4.4.5/include/stddef.h" 3 4
  7376. typedef long int ptrdiff_t;
  7377. # 6 "./osdep.h" 2
  7378. # 91 "./osdep.h"
  7379. int qemu_daemon(int nochdir, int noclose);
  7380. void *qemu_memalign(size_t alignment, size_t size);
  7381. void *qemu_vmalloc(size_t size);
  7382. void qemu_vfree(void *ptr);
  7383. # 129 "./osdep.h"
  7384. int qemu_madvise(void *addr, size_t len, int advice);
  7385.  
  7386.  
  7387.  
  7388.  
  7389.  
  7390.  
  7391.  
  7392. int qemu_create_pidfile(const char *filename);
  7393. int qemu_get_thread_id(void);
  7394. # 98 "./qemu-common.h" 2
  7395. # 1 "./bswap.h" 1
  7396.  
  7397.  
  7398.  
  7399. # 1 "./config-host.h" 1
  7400. # 5 "./bswap.h" 2
  7401. # 15 "./bswap.h"
  7402. # 1 "/usr/include/byteswap.h" 1 3 4
  7403. # 23 "/usr/include/byteswap.h" 3 4
  7404. # 1 "/usr/include/bits/byteswap.h" 1 3 4
  7405. # 24 "/usr/include/byteswap.h" 2 3 4
  7406. # 16 "./bswap.h" 2
  7407. # 52 "./bswap.h"
  7408. static __attribute__ (( always_inline )) __inline__ uint16_t bswap16(uint16_t x)
  7409. {
  7410. return (__extension__ ({ register unsigned short int __v, __x = (x); if (__builtin_constant_p (__x)) __v = ((((__x) >> 8) & 0xff) | (((__x) & 0xff) << 8)); else __asm__ ("rorw $8, %w0" : "=r" (__v) : "0" (__x) : "cc"); __v; }));
  7411. }
  7412.  
  7413. static __attribute__ (( always_inline )) __inline__ uint32_t bswap32(uint32_t x)
  7414. {
  7415. return (__extension__ ({ register unsigned int __v, __x = (x); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff000000) >> 24) | (((__x) & 0x00ff0000) >> 8) | (((__x) & 0x0000ff00) << 8) | (((__x) & 0x000000ff) << 24)); else __asm__ ("bswap %0" : "=r" (__v) : "0" (__x)); __v; }));
  7416. }
  7417.  
  7418. static __attribute__ (( always_inline )) __inline__ uint64_t bswap64(uint64_t x)
  7419. {
  7420. return (__extension__ ({ register unsigned long __v, __x = (x); if (__builtin_constant_p (__x)) __v = ((((__x) & 0xff00000000000000ull) >> 56) | (((__x) & 0x00ff000000000000ull) >> 40) | (((__x) & 0x0000ff0000000000ull) >> 24) | (((__x) & 0x000000ff00000000ull) >> 8) | (((__x) & 0x00000000ff000000ull) << 8) | (((__x) & 0x0000000000ff0000ull) << 24) | (((__x) & 0x000000000000ff00ull) << 40) | (((__x) & 0x00000000000000ffull) << 56)); else __asm__ ("bswap %q0" : "=r" (__v) : "0" (__x)); __v; }));
  7421. }
  7422.  
  7423.  
  7424.  
  7425. static __attribute__ (( always_inline )) __inline__ void bswap16s(uint16_t *s)
  7426. {
  7427. *s = bswap16(*s);
  7428. }
  7429.  
  7430. static __attribute__ (( always_inline )) __inline__ void bswap32s(uint32_t *s)
  7431. {
  7432. *s = bswap32(*s);
  7433. }
  7434.  
  7435. static __attribute__ (( always_inline )) __inline__ void bswap64s(uint64_t *s)
  7436. {
  7437. *s = bswap64(*s);
  7438. }
  7439. # 127 "./bswap.h"
  7440. static __attribute__ (( always_inline )) __inline__ uint16_t be16_to_cpu(uint16_t v){ return bswap16(v);}static __attribute__ (( always_inline )) __inline__ uint16_t cpu_to_be16(uint16_t v){ return bswap16(v);}static __attribute__ (( always_inline )) __inline__ void be16_to_cpus(uint16_t *p){ *p = bswap16(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be16s(uint16_t *p){ *p = bswap16(*p);}static __attribute__ (( always_inline )) __inline__ uint16_t be16_to_cpup(const uint16_t *p){ return be16_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be16w(uint16_t *p, uint16_t v){ *p = cpu_to_be16(v);}
  7441. static __attribute__ (( always_inline )) __inline__ uint32_t be32_to_cpu(uint32_t v){ return bswap32(v);}static __attribute__ (( always_inline )) __inline__ uint32_t cpu_to_be32(uint32_t v){ return bswap32(v);}static __attribute__ (( always_inline )) __inline__ void be32_to_cpus(uint32_t *p){ *p = bswap32(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be32s(uint32_t *p){ *p = bswap32(*p);}static __attribute__ (( always_inline )) __inline__ uint32_t be32_to_cpup(const uint32_t *p){ return be32_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be32w(uint32_t *p, uint32_t v){ *p = cpu_to_be32(v);}
  7442. static __attribute__ (( always_inline )) __inline__ uint64_t be64_to_cpu(uint64_t v){ return bswap64(v);}static __attribute__ (( always_inline )) __inline__ uint64_t cpu_to_be64(uint64_t v){ return bswap64(v);}static __attribute__ (( always_inline )) __inline__ void be64_to_cpus(uint64_t *p){ *p = bswap64(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be64s(uint64_t *p){ *p = bswap64(*p);}static __attribute__ (( always_inline )) __inline__ uint64_t be64_to_cpup(const uint64_t *p){ return be64_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_be64w(uint64_t *p, uint64_t v){ *p = cpu_to_be64(v);}
  7443.  
  7444. static __attribute__ (( always_inline )) __inline__ uint16_t le16_to_cpu(uint16_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ uint16_t cpu_to_le16(uint16_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ void le16_to_cpus(uint16_t *p){ }static __attribute__ (( always_inline )) __inline__ void cpu_to_le16s(uint16_t *p){ }static __attribute__ (( always_inline )) __inline__ uint16_t le16_to_cpup(const uint16_t *p){ return le16_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_le16w(uint16_t *p, uint16_t v){ *p = cpu_to_le16(v);}
  7445. static __attribute__ (( always_inline )) __inline__ uint32_t le32_to_cpu(uint32_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ uint32_t cpu_to_le32(uint32_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ void le32_to_cpus(uint32_t *p){ }static __attribute__ (( always_inline )) __inline__ void cpu_to_le32s(uint32_t *p){ }static __attribute__ (( always_inline )) __inline__ uint32_t le32_to_cpup(const uint32_t *p){ return le32_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_le32w(uint32_t *p, uint32_t v){ *p = cpu_to_le32(v);}
  7446. static __attribute__ (( always_inline )) __inline__ uint64_t le64_to_cpu(uint64_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ uint64_t cpu_to_le64(uint64_t v){ return (v);}static __attribute__ (( always_inline )) __inline__ void le64_to_cpus(uint64_t *p){ }static __attribute__ (( always_inline )) __inline__ void cpu_to_le64s(uint64_t *p){ }static __attribute__ (( always_inline )) __inline__ uint64_t le64_to_cpup(const uint64_t *p){ return le64_to_cpu(*p);}static __attribute__ (( always_inline )) __inline__ void cpu_to_le64w(uint64_t *p, uint64_t v){ *p = cpu_to_le64(v);}
  7447. # 151 "./bswap.h"
  7448. static __attribute__ (( always_inline )) __inline__ void cpu_to_le16wu(uint16_t *p, uint16_t v)
  7449. {
  7450. uint8_t *p1 = (uint8_t *)p;
  7451.  
  7452. p1[0] = v & 0xff;
  7453. p1[1] = v >> 8;
  7454. }
  7455.  
  7456. static __attribute__ (( always_inline )) __inline__ void cpu_to_le32wu(uint32_t *p, uint32_t v)
  7457. {
  7458. uint8_t *p1 = (uint8_t *)p;
  7459.  
  7460. p1[0] = v & 0xff;
  7461. p1[1] = v >> 8;
  7462. p1[2] = v >> 16;
  7463. p1[3] = v >> 24;
  7464. }
  7465.  
  7466. static __attribute__ (( always_inline )) __inline__ uint16_t le16_to_cpupu(const uint16_t *p)
  7467. {
  7468. const uint8_t *p1 = (const uint8_t *)p;
  7469. return p1[0] | (p1[1] << 8);
  7470. }
  7471.  
  7472. static __attribute__ (( always_inline )) __inline__ uint32_t le32_to_cpupu(const uint32_t *p)
  7473. {
  7474. const uint8_t *p1 = (const uint8_t *)p;
  7475. return p1[0] | (p1[1] << 8) | (p1[2] << 16) | (p1[3] << 24);
  7476. }
  7477.  
  7478. static __attribute__ (( always_inline )) __inline__ uint32_t be32_to_cpupu(const uint32_t *p)
  7479. {
  7480. const uint8_t *p1 = (const uint8_t *)p;
  7481. return p1[3] | (p1[2] << 8) | (p1[1] << 16) | (p1[0] << 24);
  7482. }
  7483.  
  7484. static __attribute__ (( always_inline )) __inline__ void cpu_to_be16wu(uint16_t *p, uint16_t v)
  7485. {
  7486. uint8_t *p1 = (uint8_t *)p;
  7487.  
  7488. p1[0] = v >> 8;
  7489. p1[1] = v & 0xff;
  7490. }
  7491.  
  7492. static __attribute__ (( always_inline )) __inline__ void cpu_to_be32wu(uint32_t *p, uint32_t v)
  7493. {
  7494. uint8_t *p1 = (uint8_t *)p;
  7495.  
  7496. p1[0] = v >> 24;
  7497. p1[1] = v >> 16;
  7498. p1[2] = v >> 8;
  7499. p1[3] = v & 0xff;
  7500. }
  7501.  
  7502. static __attribute__ (( always_inline )) __inline__ void cpu_to_be64wu(uint64_t *p, uint64_t v)
  7503. {
  7504. uint8_t *p1 = (uint8_t *)p;
  7505.  
  7506. p1[0] = v >> 56;
  7507. p1[1] = v >> 48;
  7508. p1[2] = v >> 40;
  7509. p1[3] = v >> 32;
  7510. p1[4] = v >> 24;
  7511. p1[5] = v >> 16;
  7512. p1[6] = v >> 8;
  7513. p1[7] = v & 0xff;
  7514. }
  7515. # 235 "./bswap.h"
  7516. static __attribute__ (( always_inline )) __inline__ uint32_t qemu_bswap_len(uint32_t value, int len)
  7517. {
  7518. return bswap32(value) >> (32 - 8 * len);
  7519. }
  7520. # 99 "./qemu-common.h" 2
  7521. # 112 "./qemu-common.h"
  7522. typedef void QEMUBHFunc(void *opaque);
  7523.  
  7524. void async_context_push(void);
  7525. void async_context_pop(void);
  7526. int get_async_context_id(void);
  7527.  
  7528. QEMUBH *qemu_bh_new(QEMUBHFunc *cb, void *opaque);
  7529. void qemu_bh_schedule(QEMUBH *bh);
  7530.  
  7531.  
  7532.  
  7533.  
  7534.  
  7535.  
  7536. void qemu_bh_schedule_idle(QEMUBH *bh);
  7537. void qemu_bh_cancel(QEMUBH *bh);
  7538. void qemu_bh_delete(QEMUBH *bh);
  7539. int qemu_bh_poll(void);
  7540. void qemu_bh_update_timeout(int *timeout);
  7541.  
  7542. void qemu_get_timedate(struct tm *tm, int offset);
  7543. int qemu_timedate_diff(struct tm *tm);
  7544.  
  7545.  
  7546. void pstrcpy(char *buf, int buf_size, const char *str);
  7547. char *pstrcat(char *buf, int buf_size, const char *s);
  7548. int strstart(const char *str, const char *val, const char **ptr);
  7549. int stristart(const char *str, const char *val, const char **ptr);
  7550. int qemu_strnlen(const char *s, int max_len);
  7551. time_t mktimegm(struct tm *tm);
  7552. int qemu_fls(int i);
  7553. int qemu_fdatasync(int fd);
  7554. int fcntl_setfl(int fd, int flag);
  7555. # 158 "./qemu-common.h"
  7556. int64_t strtosz(const char *nptr, char **end);
  7557. int64_t strtosz_suffix(const char *nptr, char **end, const char default_suffix);
  7558.  
  7559.  
  7560. void init_paths(const char *prefix);
  7561. const char *path(const char *pathname);
  7562. # 181 "./qemu-common.h"
  7563. void *qemu_oom_check(void *ptr);
  7564. void *qemu_malloc(size_t size);
  7565. void *qemu_realloc(void *ptr, size_t size);
  7566. void *qemu_mallocz(size_t size);
  7567. void qemu_free(void *ptr);
  7568. char *qemu_strdup(const char *str);
  7569. char *qemu_strndup(const char *str, size_t size);
  7570.  
  7571. void qemu_mutex_lock_iothread(void);
  7572. void qemu_mutex_unlock_iothread(void);
  7573.  
  7574. int qemu_open(const char *name, int flags, ...);
  7575. ssize_t qemu_write_full(int fd, const void *buf, size_t count)
  7576. __attribute__((warn_unused_result));
  7577. void qemu_set_cloexec(int fd);
  7578.  
  7579.  
  7580. int qemu_add_child_watch(pid_t pid);
  7581. int qemu_eventfd(int pipefd[2]);
  7582. int qemu_pipe(int pipefd[2]);
  7583. # 211 "./qemu-common.h"
  7584. void __attribute__ ((__noreturn__)) hw_error(const char *fmt, ...) __attribute__((format(gnu_printf, 1, 2)));
  7585.  
  7586.  
  7587. typedef void IOReadHandler(void *opaque, const uint8_t *buf, int size);
  7588. typedef int IOCanReadHandler(void *opaque);
  7589. typedef void IOHandler(void *opaque);
  7590.  
  7591. void qemu_iohandler_fill(int *pnfds, fd_set *readfds, fd_set *writefds, fd_set *xfds);
  7592. void qemu_iohandler_poll(fd_set *readfds, fd_set *writefds, fd_set *xfds, int rc);
  7593.  
  7594. struct ParallelIOArg {
  7595. void *buffer;
  7596. int count;
  7597. };
  7598.  
  7599. typedef int (*DMA_transfer_handler) (void *opaque, int nchan, int pos, int size);
  7600.  
  7601.  
  7602.  
  7603. typedef struct NICInfo NICInfo;
  7604. typedef struct HCIInfo HCIInfo;
  7605. typedef struct AudioState AudioState;
  7606. typedef struct BlockDriverState BlockDriverState;
  7607. typedef struct DriveInfo DriveInfo;
  7608. typedef struct DisplayState DisplayState;
  7609. typedef struct DisplayChangeListener DisplayChangeListener;
  7610. typedef struct DisplaySurface DisplaySurface;
  7611. typedef struct DisplayAllocator DisplayAllocator;
  7612. typedef struct PixelFormat PixelFormat;
  7613. typedef struct TextConsole TextConsole;
  7614. typedef TextConsole QEMUConsole;
  7615. typedef struct CharDriverState CharDriverState;
  7616. typedef struct MACAddr MACAddr;
  7617. typedef struct VLANState VLANState;
  7618. typedef struct VLANClientState VLANClientState;
  7619. typedef struct i2c_bus i2c_bus;
  7620. typedef struct i2c_slave i2c_slave;
  7621. typedef struct SMBusDevice SMBusDevice;
  7622. typedef struct PCIHostState PCIHostState;
  7623. typedef struct PCIExpressHost PCIExpressHost;
  7624. typedef struct PCIBus PCIBus;
  7625. typedef struct PCIDevice PCIDevice;
  7626. typedef struct PCIExpressDevice PCIExpressDevice;
  7627. typedef struct PCIBridge PCIBridge;
  7628. typedef struct PCIEAERMsg PCIEAERMsg;
  7629. typedef struct PCIEAERLog PCIEAERLog;
  7630. typedef struct PCIEAERErr PCIEAERErr;
  7631. typedef struct PCIEPort PCIEPort;
  7632. typedef struct PCIESlot PCIESlot;
  7633. typedef struct SerialState SerialState;
  7634. typedef struct IRQState *qemu_irq;
  7635. typedef struct PCMCIACardState PCMCIACardState;
  7636. typedef struct MouseTransformInfo MouseTransformInfo;
  7637. typedef struct uWireSlave uWireSlave;
  7638. typedef struct I2SCodec I2SCodec;
  7639. typedef struct SSIBus SSIBus;
  7640. typedef struct EventNotifier EventNotifier;
  7641. typedef struct VirtIODevice VirtIODevice;
  7642.  
  7643. typedef uint64_t pcibus_t;
  7644.  
  7645. void cpu_exec_init_all(unsigned long tb_size);
  7646.  
  7647.  
  7648. void cpu_save(QEMUFile *f, void *opaque);
  7649. int cpu_load(QEMUFile *f, void *opaque, int version_id);
  7650.  
  7651.  
  7652. void qemu_service_io(void);
  7653.  
  7654.  
  7655. void qemu_notify_event(void);
  7656.  
  7657.  
  7658. void qemu_cpu_kick(void *env);
  7659. void qemu_cpu_kick_self(void);
  7660. int qemu_cpu_is_self(void *env);
  7661. _Bool all_cpu_threads_idle(void);
  7662.  
  7663.  
  7664. struct qemu_work_item {
  7665. struct qemu_work_item *next;
  7666. void (*func)(void *data);
  7667. void *data;
  7668. int done;
  7669. };
  7670.  
  7671.  
  7672.  
  7673.  
  7674. void qemu_init_vcpu(void *env);
  7675.  
  7676.  
  7677. typedef struct QEMUIOVector {
  7678. struct iovec *iov;
  7679. int niov;
  7680. int nalloc;
  7681. size_t size;
  7682. } QEMUIOVector;
  7683.  
  7684. void qemu_iovec_init(QEMUIOVector *qiov, int alloc_hint);
  7685. void qemu_iovec_init_external(QEMUIOVector *qiov, struct iovec *iov, int niov);
  7686. void qemu_iovec_add(QEMUIOVector *qiov, void *base, size_t len);
  7687. void qemu_iovec_copy(QEMUIOVector *dst, QEMUIOVector *src, uint64_t skip,
  7688. size_t size);
  7689. void qemu_iovec_concat(QEMUIOVector *dst, QEMUIOVector *src, size_t size);
  7690. void qemu_iovec_destroy(QEMUIOVector *qiov);
  7691. void qemu_iovec_reset(QEMUIOVector *qiov);
  7692. void qemu_iovec_to_buffer(QEMUIOVector *qiov, void *buf);
  7693. void qemu_iovec_from_buffer(QEMUIOVector *qiov, const void *buf, size_t count);
  7694. void qemu_iovec_memset(QEMUIOVector *qiov, int c, size_t count);
  7695. void qemu_iovec_memset_skip(QEMUIOVector *qiov, int c, size_t count,
  7696. size_t skip);
  7697.  
  7698. void qemu_progress_init(int enabled, float min_skip);
  7699. void qemu_progress_end(void);
  7700. void qemu_progress_print(float delta, int max);
  7701.  
  7702.  
  7703.  
  7704. char *qemu_find_file(int type, const char *name);
  7705.  
  7706.  
  7707. void os_setup_early_signal_handling(void);
  7708. char *os_find_datadir(const char *argv0);
  7709. void os_parse_cmd_args(int index, const char *optarg);
  7710. void os_pidfile_error(void);
  7711.  
  7712.  
  7713. static __attribute__ (( always_inline )) __inline__ uint8_t to_bcd(uint8_t val)
  7714. {
  7715. return ((val / 10) << 4) | (val % 10);
  7716. }
  7717.  
  7718. static __attribute__ (( always_inline )) __inline__ uint8_t from_bcd(uint8_t val)
  7719. {
  7720. return ((val >> 4) * 10) + (val & 0x0f);
  7721. }
  7722.  
  7723.  
  7724. static __attribute__ (( always_inline )) __inline__ uint64_t muldiv64(uint64_t a, uint32_t b, uint32_t c)
  7725. {
  7726. union {
  7727. uint64_t ll;
  7728. struct {
  7729.  
  7730.  
  7731.  
  7732. uint32_t low, high;
  7733.  
  7734. } l;
  7735. } u, res;
  7736. uint64_t rl, rh;
  7737.  
  7738. u.ll = a;
  7739. rl = (uint64_t)u.l.low * (uint64_t)b;
  7740. rh = (uint64_t)u.l.high * (uint64_t)b;
  7741. rh += (rl >> 32);
  7742. res.l.high = rh / c;
  7743. res.l.low = (((rh % c) << 32) + (rl & 0xffffffff)) / c;
  7744. return res.ll;
  7745. }
  7746.  
  7747. # 1 "./module.h" 1
  7748. # 23 "./module.h"
  7749. typedef enum {
  7750. MODULE_INIT_BLOCK,
  7751. MODULE_INIT_DEVICE,
  7752. MODULE_INIT_MACHINE,
  7753. MODULE_INIT_QAPI,
  7754. MODULE_INIT_MAX
  7755. } module_init_type;
  7756.  
  7757.  
  7758.  
  7759.  
  7760.  
  7761.  
  7762. void register_module_init(void (*fn)(void), module_init_type type);
  7763.  
  7764. void module_call_init(module_init_type type);
  7765. # 375 "./qemu-common.h" 2
  7766. # 18 "./qapi/qapi-types-core.h" 2
  7767. # 1 "/usr/include/alsa/error.h" 1
  7768. # 45 "/usr/include/alsa/error.h"
  7769. const char *snd_strerror(int errnum);
  7770. # 59 "/usr/include/alsa/error.h"
  7771. typedef void (*snd_lib_error_handler_t)(const char *file, int line, const char *function, int err, const char *fmt, ...) ;
  7772. extern snd_lib_error_handler_t snd_lib_error;
  7773. extern int snd_lib_error_set_handler(snd_lib_error_handler_t handler);
  7774. # 19 "./qapi/qapi-types-core.h" 2
  7775. # 17 "./qapi/qapi-visit-core.h" 2
  7776.  
  7777.  
  7778. typedef struct GenericList
  7779. {
  7780. void *value;
  7781. struct GenericList *next;
  7782. } GenericList;
  7783.  
  7784. typedef struct Visitor Visitor;
  7785.  
  7786. struct Visitor
  7787. {
  7788.  
  7789. void (*start_struct)(Visitor *v, void **obj, const char *kind,
  7790. const char *name, size_t size, Error **errp);
  7791. void (*end_struct)(Visitor *v, Error **errp);
  7792.  
  7793. void (*start_list)(Visitor *v, const char *name, Error **errp);
  7794. GenericList *(*next_list)(Visitor *v, GenericList **list, Error **errp);
  7795. void (*end_list)(Visitor *v, Error **errp);
  7796.  
  7797. void (*type_enum)(Visitor *v, int *obj, const char *strings[],
  7798. const char *kind, const char *name, Error **errp);
  7799.  
  7800. void (*type_int)(Visitor *v, int64_t *obj, const char *name, Error **errp);
  7801. void (*type_bool)(Visitor *v, _Bool *obj, const char *name, Error **errp);
  7802. void (*type_str)(Visitor *v, char **obj, const char *name, Error **errp);
  7803. void (*type_number)(Visitor *v, double *obj, const char *name,
  7804. Error **errp);
  7805.  
  7806.  
  7807. void (*start_optional)(Visitor *v, _Bool *present, const char *name,
  7808. Error **errp);
  7809. void (*end_optional)(Visitor *v, Error **errp);
  7810.  
  7811. void (*start_handle)(Visitor *v, void **obj, const char *kind,
  7812. const char *name, Error **errp);
  7813. void (*end_handle)(Visitor *v, Error **errp);
  7814. };
  7815.  
  7816. void visit_start_handle(Visitor *v, void **obj, const char *kind,
  7817. const char *name, Error **errp);
  7818. void visit_end_handle(Visitor *v, Error **errp);
  7819. void visit_start_struct(Visitor *v, void **obj, const char *kind,
  7820. const char *name, size_t size, Error **errp);
  7821. void visit_end_struct(Visitor *v, Error **errp);
  7822. void visit_start_list(Visitor *v, const char *name, Error **errp);
  7823. GenericList *visit_next_list(Visitor *v, GenericList **list, Error **errp);
  7824. void visit_end_list(Visitor *v, Error **errp);
  7825. void visit_start_optional(Visitor *v, _Bool *present, const char *name,
  7826. Error **errp);
  7827. void visit_end_optional(Visitor *v, Error **errp);
  7828. void visit_type_enum(Visitor *v, int *obj, const char *strings[],
  7829. const char *kind, const char *name, Error **errp);
  7830. void visit_type_int(Visitor *v, int64_t *obj, const char *name, Error **errp);
  7831. void visit_type_bool(Visitor *v, _Bool *obj, const char *name, Error **errp);
  7832. void visit_type_str(Visitor *v, char **obj, const char *name, Error **errp);
  7833. void visit_type_number(Visitor *v, double *obj, const char *name, Error **errp);
  7834. # 15 "qapi/qapi-visit-core.c" 2
  7835.  
  7836. void visit_start_handle(Visitor *v, void **obj, const char *kind,
  7837. const char *name, Error **errp)
  7838. {
  7839. if (!error_is_set(errp) && v->start_handle) {
  7840. v->start_handle(v, obj, kind, name, errp);
  7841. }
  7842. }
  7843.  
  7844. void visit_end_handle(Visitor *v, Error **errp)
  7845. {
  7846. if (!error_is_set(errp) && v->end_handle) {
  7847. v->end_handle(v, errp);
  7848. }
  7849. }
  7850.  
  7851. void visit_start_struct(Visitor *v, void **obj, const char *kind,
  7852. const char *name, size_t size, Error **errp)
  7853. {
  7854. if (!error_is_set(errp)) {
  7855. v->start_struct(v, obj, kind, name, size, errp);
  7856. }
  7857. }
  7858.  
  7859. void visit_end_struct(Visitor *v, Error **errp)
  7860. {
  7861. if (!error_is_set(errp)) {
  7862. v->end_struct(v, errp);
  7863. }
  7864. }
  7865.  
  7866. void visit_start_list(Visitor *v, const char *name, Error **errp)
  7867. {
  7868. if (!error_is_set(errp)) {
  7869. v->start_list(v, name, errp);
  7870. }
  7871. }
  7872.  
  7873. GenericList *visit_next_list(Visitor *v, GenericList **list, Error **errp)
  7874. {
  7875. if (!error_is_set(errp)) {
  7876. return v->next_list(v, list, errp);
  7877. }
  7878.  
  7879. return 0;
  7880. }
  7881.  
  7882. void visit_end_list(Visitor *v, Error **errp)
  7883. {
  7884. if (!error_is_set(errp)) {
  7885. v->end_list(v, errp);
  7886. }
  7887. }
  7888.  
  7889. void visit_start_optional(Visitor *v, _Bool *present, const char *name,
  7890. Error **errp)
  7891. {
  7892. if (!error_is_set(errp) && v->start_optional) {
  7893. v->start_optional(v, present, name, errp);
  7894. }
  7895. }
  7896.  
  7897. void visit_end_optional(Visitor *v, Error **errp)
  7898. {
  7899. if (!error_is_set(errp) && v->end_optional) {
  7900. v->end_optional(v, errp);
  7901. }
  7902. }
  7903.  
  7904. void visit_type_enum(Visitor *v, int *obj, const char *strings[],
  7905. const char *kind, const char *name, Error **errp)
  7906. {
  7907. if (!error_is_set(errp)) {
  7908. v->type_enum(v, obj, strings, kind, name, errp);
  7909. }
  7910. }
  7911.  
  7912. void visit_type_int(Visitor *v, int64_t *obj, const char *name, Error **errp)
  7913. {
  7914. if (!error_is_set(errp)) {
  7915. v->type_int(v, obj, name, errp);
  7916. }
  7917. }
  7918.  
  7919. void visit_type_bool(Visitor *v, _Bool *obj, const char *name, Error **errp)
  7920. {
  7921. if (!error_is_set(errp)) {
  7922. v->type_bool(v, obj, name, errp);
  7923. }
  7924. }
  7925.  
  7926. void visit_type_str(Visitor *v, char **obj, const char *name, Error **errp)
  7927. {
  7928. if (!error_is_set(errp)) {
  7929. v->type_str(v, obj, name, errp);
  7930. }
  7931. }
  7932.  
  7933. void visit_type_number(Visitor *v, double *obj, const char *name, Error **errp)
  7934. {
  7935. if (!error_is_set(errp)) {
  7936. v->type_number(v, obj, name, errp);
  7937. }
  7938. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement