0001: // codice preprocessato
0002: # 1 "060_005prim.c"
0003: # 1 "<built-in>"
0004: # 1 "<command-line>"
0005: # 31 "<command-line>"
0006: # 1 "/usr/include/stdc-predef.h" 1 3 4
0007: # 32 "<command-line>" 2
0008: # 1 "060_005prim.c"
0009: # 1 "/usr/include/stdio.h" 1 3 4
0010: # 27 "/usr/include/stdio.h" 3 4
0011: # 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
0012: # 33 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 3 4
0013: # 1 "/usr/include/features.h" 1 3 4
0014: # 424 "/usr/include/features.h" 3 4
0015: # 1 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 1 3 4
0016: # 427 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 3 4
0017: # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
0018: # 428 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4
0019: # 1 "/usr/include/x86_64-linux-gnu/bits/long-double.h" 1 3 4
0020: # 429 "/usr/include/x86_64-linux-gnu/sys/cdefs.h" 2 3 4
0021: # 425 "/usr/include/features.h" 2 3 4
0022: # 448 "/usr/include/features.h" 3 4
0023: # 1 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 1 3 4
0024: # 10 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 3 4
0025: # 1 "/usr/include/x86_64-linux-gnu/gnu/stubs-64.h" 1 3 4
0026: # 11 "/usr/include/x86_64-linux-gnu/gnu/stubs.h" 2 3 4
0027: # 449 "/usr/include/features.h" 2 3 4
0028: # 34 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 2 3 4
0029: # 28 "/usr/include/stdio.h" 2 3 4
0030:
0031:
0032:
0033:
0034:
0035: # 1 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h" 1 3 4
0036: # 216 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h" 3 4
0037:
0038: # 216 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h" 3 4
0039: typedef long unsigned int size_t;
0040: # 34 "/usr/include/stdio.h" 2 3 4
0041:
0042: # 1 "/usr/include/x86_64-linux-gnu/bits/types.h" 1 3 4
0043: # 27 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
0044: # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
0045: # 28 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
0046:
0047:
0048: typedef unsigned char __u_char;
0049: typedef unsigned short int __u_short;
0050: typedef unsigned int __u_int;
0051: typedef unsigned long int __u_long;
0052:
0053:
0054: typedef signed char __int8_t;
0055: typedef unsigned char __uint8_t;
0056: typedef signed short int __int16_t;
0057: typedef unsigned short int __uint16_t;
0058: typedef signed int __int32_t;
0059: typedef unsigned int __uint32_t;
0060:
0061: typedef signed long int __int64_t;
0062: typedef unsigned long int __uint64_t;
0063:
0064:
0065:
0066:
0067:
0068:
0069:
0070: typedef long int __quad_t;
0071: typedef unsigned long int __u_quad_t;
0072:
0073:
0074:
0075:
0076:
0077:
0078:
0079: typedef long int __intmax_t;
0080: typedef unsigned long int __uintmax_t;
0081: # 130 "/usr/include/x86_64-linux-gnu/bits/types.h" 3 4
0082: # 1 "/usr/include/x86_64-linux-gnu/bits/typesizes.h" 1 3 4
0083: # 131 "/usr/include/x86_64-linux-gnu/bits/types.h" 2 3 4
0084:
0085:
0086: typedef unsigned long int __dev_t;
0087: typedef unsigned int __uid_t;
0088: typedef unsigned int __gid_t;
0089: typedef unsigned long int __ino_t;
0090: typedef unsigned long int __ino64_t;
0091: typedef unsigned int __mode_t;
0092: typedef unsigned long int __nlink_t;
0093: typedef long int __off_t;
0094: typedef long int __off64_t;
0095: typedef int __pid_t;
0096: typedef struct { int __val[2]; } __fsid_t;
0097: typedef long int __clock_t;
0098: typedef unsigned long int __rlim_t;
0099: typedef unsigned long int __rlim64_t;
0100: typedef unsigned int __id_t;
0101: typedef long int __time_t;
0102: typedef unsigned int __useconds_t;
0103: typedef long int __suseconds_t;
0104:
0105: typedef int __daddr_t;
0106: typedef int __key_t;
0107:
0108:
0109: typedef int __clockid_t;
0110:
0111:
0112: typedef void * __timer_t;
0113:
0114:
0115: typedef long int __blksize_t;
0116:
0117:
0118:
0119:
0120: typedef long int __blkcnt_t;
0121: typedef long int __blkcnt64_t;
0122:
0123:
0124: typedef unsigned long int __fsblkcnt_t;
0125: typedef unsigned long int __fsblkcnt64_t;
0126:
0127:
0128: typedef unsigned long int __fsfilcnt_t;
0129: typedef unsigned long int __fsfilcnt64_t;
0130:
0131:
0132: typedef long int __fsword_t;
0133:
0134: typedef long int __ssize_t;
0135:
0136:
0137: typedef long int __syscall_slong_t;
0138:
0139: typedef unsigned long int __syscall_ulong_t;
0140:
0141:
0142:
0143: typedef __off64_t __loff_t;
0144: typedef char *__caddr_t;
0145:
0146:
0147: typedef long int __intptr_t;
0148:
0149:
0150: typedef unsigned int __socklen_t;
0151:
0152:
0153:
0154:
0155: typedef int __sig_atomic_t;
0156: # 36 "/usr/include/stdio.h" 2 3 4
0157: # 1 "/usr/include/x86_64-linux-gnu/bits/types/__FILE.h" 1 3 4
0158:
0159:
0160:
0161: struct _IO_FILE;
0162: typedef struct _IO_FILE __FILE;
0163: # 37 "/usr/include/stdio.h" 2 3 4
0164: # 1 "/usr/include/x86_64-linux-gnu/bits/types/FILE.h" 1 3 4
0165:
0166:
0167:
0168: struct _IO_FILE;
0169:
0170:
0171: typedef struct _IO_FILE FILE;
0172: # 38 "/usr/include/stdio.h" 2 3 4
0173:
0174:
0175:
0176: # 1 "/usr/include/x86_64-linux-gnu/bits/libio.h" 1 3 4
0177: # 35 "/usr/include/x86_64-linux-gnu/bits/libio.h" 3 4
0178: # 1 "/usr/include/x86_64-linux-gnu/bits/_G_config.h" 1 3 4
0179: # 19 "/usr/include/x86_64-linux-gnu/bits/_G_config.h" 3 4
0180: # 1 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h" 1 3 4
0181: # 20 "/usr/include/x86_64-linux-gnu/bits/_G_config.h" 2 3 4
0182:
0183: # 1 "/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h" 1 3 4
0184: # 13 "/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h" 3 4
0185: typedef struct
0186: {
0187: int __count;
0188: union
0189: {
0190: unsigned int __wch;
0191: char __wchb[4];
0192: } __value;
0193: } __mbstate_t;
0194: # 22 "/usr/include/x86_64-linux-gnu/bits/_G_config.h" 2 3 4
0195:
0196:
0197:
0198:
0199: typedef struct
0200: {
0201: __off_t __pos;
0202: __mbstate_t __state;
0203: } _G_fpos_t;
0204: typedef struct
0205: {
0206: __off64_t __pos;
0207: __mbstate_t __state;
0208: } _G_fpos64_t;
0209: # 36 "/usr/include/x86_64-linux-gnu/bits/libio.h" 2 3 4
0210: # 53 "/usr/include/x86_64-linux-gnu/bits/libio.h" 3 4
0211: # 1 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h" 1 3 4
0212: # 40 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stdarg.h" 3 4
0213: typedef __builtin_va_list __gnuc_va_list;
0214: # 54 "/usr/include/x86_64-linux-gnu/bits/libio.h" 2 3 4
0215: # 149 "/usr/include/x86_64-linux-gnu/bits/libio.h" 3 4
0216: struct _IO_jump_t; struct _IO_FILE;
0217:
0218:
0219:
0220:
0221: typedef void _IO_lock_t;
0222:
0223:
0224:
0225:
0226:
0227: struct _IO_marker {
0228: struct _IO_marker *_next;
0229: struct _IO_FILE *_sbuf;
0230:
0231:
0232:
0233: int _pos;
0234: # 177 "/usr/include/x86_64-linux-gnu/bits/libio.h" 3 4
0235: };
0236:
0237:
0238: enum __codecvt_result
0239: {
0240: __codecvt_ok,
0241: __codecvt_partial,
0242: __codecvt_error,
0243: __codecvt_noconv
0244: };
0245: # 245 "/usr/include/x86_64-linux-gnu/bits/libio.h" 3 4
0246: struct _IO_FILE {
0247: int _flags;
0248:
0249:
0250:
0251:
0252: char* _IO_read_ptr;
0253: char* _IO_read_end;
0254: char* _IO_read_base;
0255: char* _IO_write_base;
0256: char* _IO_write_ptr;
0257: char* _IO_write_end;
0258: char* _IO_buf_base;
0259: char* _IO_buf_end;
0260:
0261: char *_IO_save_base;
0262: char *_IO_backup_base;
0263: char *_IO_save_end;
0264:
0265: struct _IO_marker *_markers;
0266:
0267: struct _IO_FILE *_chain;
0268:
0269: int _fileno;
0270:
0271:
0272:
0273: int _flags2;
0274:
0275: __off_t _old_offset;
0276:
0277:
0278:
0279: unsigned short _cur_column;
0280: signed char _vtable_offset;
0281: char _shortbuf[1];
0282:
0283:
0284:
0285: _IO_lock_t *_lock;
0286: # 293 "/usr/include/x86_64-linux-gnu/bits/libio.h" 3 4
0287: __off64_t _offset;
0288:
0289:
0290:
0291:
0292:
0293:
0294:
0295: void *__pad1;
0296: void *__pad2;
0297: void *__pad3;
0298: void *__pad4;
0299:
0300: size_t __pad5;
0301: int _mode;
0302:
0303: char _unused2[15 * sizeof (int) - 4 * sizeof (void *) - sizeof (size_t)];
0304:
0305: };
0306:
0307:
0308: typedef struct _IO_FILE _IO_FILE;
0309:
0310:
0311: struct _IO_FILE_plus;
0312:
0313: extern struct _IO_FILE_plus _IO_2_1_stdin_;
0314: extern struct _IO_FILE_plus _IO_2_1_stdout_;
0315: extern struct _IO_FILE_plus _IO_2_1_stderr_;
0316: # 337 "/usr/include/x86_64-linux-gnu/bits/libio.h" 3 4
0317: typedef __ssize_t __io_read_fn (void *__cookie, char *__buf, size_t __nbytes);
0318:
0319:
0320:
0321:
0322:
0323:
0324:
0325: typedef __ssize_t __io_write_fn (void *__cookie, const char *__buf,
0326: size_t __n);
0327:
0328:
0329:
0330:
0331:
0332:
0333:
0334: typedef int __io_seek_fn (void *__cookie, __off64_t *__pos, int __w);
0335:
0336:
0337: typedef int __io_close_fn (void *__cookie);
0338: # 389 "/usr/include/x86_64-linux-gnu/bits/libio.h" 3 4
0339: extern int __underflow (_IO_FILE *);
0340: extern int __uflow (_IO_FILE *);
0341: extern int __overflow (_IO_FILE *, int);
0342: # 433 "/usr/include/x86_64-linux-gnu/bits/libio.h" 3 4
0343: extern int _IO_getc (_IO_FILE *__fp);
0344: extern int _IO_putc (int __c, _IO_FILE *__fp);
0345: extern int _IO_feof (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__));
0346: extern int _IO_ferror (_IO_FILE *__fp) __attribute__ ((__nothrow__ , __leaf__));
0347:
0348: extern int _IO_peekc_locked (_IO_FILE *__fp);
0349:
0350:
0351:
0352:
0353:
0354: extern void _IO_flockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
0355: extern void _IO_funlockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
0356: extern int _IO_ftrylockfile (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
0357: # 462 "/usr/include/x86_64-linux-gnu/bits/libio.h" 3 4
0358: extern int _IO_vfscanf (_IO_FILE * __restrict, const char * __restrict,
0359: __gnuc_va_list, int *__restrict);
0360: extern int _IO_vfprintf (_IO_FILE *__restrict, const char *__restrict,
0361: __gnuc_va_list);
0362: extern __ssize_t _IO_padn (_IO_FILE *, int, __ssize_t);
0363: extern size_t _IO_sgetn (_IO_FILE *, void *, size_t);
0364:
0365: extern __off64_t _IO_seekoff (_IO_FILE *, __off64_t, int, int);
0366: extern __off64_t _IO_seekpos (_IO_FILE *, __off64_t, int);
0367:
0368: extern void _IO_free_backup_area (_IO_FILE *) __attribute__ ((__nothrow__ , __leaf__));
0369: # 42 "/usr/include/stdio.h" 2 3 4
0370:
0371:
0372:
0373:
0374: typedef __gnuc_va_list va_list;
0375: # 57 "/usr/include/stdio.h" 3 4
0376: typedef __off_t off_t;
0377: # 71 "/usr/include/stdio.h" 3 4
0378: typedef __ssize_t ssize_t;
0379:
0380:
0381:
0382:
0383:
0384:
0385: typedef _G_fpos_t fpos_t;
0386: # 131 "/usr/include/stdio.h" 3 4
0387: # 1 "/usr/include/x86_64-linux-gnu/bits/stdio_lim.h" 1 3 4
0388: # 132 "/usr/include/stdio.h" 2 3 4
0389:
0390:
0391:
0392: extern struct _IO_FILE *stdin;
0393: extern struct _IO_FILE *stdout;
0394: extern struct _IO_FILE *stderr;
0395:
0396:
0397:
0398:
0399:
0400:
0401: extern int remove (const char *__filename) __attribute__ ((__nothrow__ , __leaf__));
0402:
0403: extern int rename (const char *__old, const char *__new) __attribute__ ((__nothrow__ , __leaf__));
0404:
0405:
0406:
0407: extern int renameat (int __oldfd, const char *__old, int __newfd,
0408: const char *__new) __attribute__ ((__nothrow__ , __leaf__));
0409:
0410:
0411:
0412:
0413:
0414:
0415:
0416: extern FILE *tmpfile (void) ;
0417: # 173 "/usr/include/stdio.h" 3 4
0418: extern char *tmpnam (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ;
0419:
0420:
0421:
0422:
0423: extern char *tmpnam_r (char *__s) __attribute__ ((__nothrow__ , __leaf__)) ;
0424: # 190 "/usr/include/stdio.h" 3 4
0425: extern char *tempnam (const char *__dir, const char *__pfx)
0426: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ;
0427:
0428:
0429:
0430:
0431:
0432:
0433:
0434: extern int fclose (FILE *__stream);
0435:
0436:
0437:
0438:
0439: extern int fflush (FILE *__stream);
0440: # 213 "/usr/include/stdio.h" 3 4
0441: extern int fflush_unlocked (FILE *__stream);
0442: # 232 "/usr/include/stdio.h" 3 4
0443: extern FILE *fopen (const char *__restrict __filename,
0444: const char *__restrict __modes) ;
0445:
0446:
0447:
0448:
0449: extern FILE *freopen (const char *__restrict __filename,
0450: const char *__restrict __modes,
0451: FILE *__restrict __stream) ;
0452: # 265 "/usr/include/stdio.h" 3 4
0453: extern FILE *fdopen (int __fd, const char *__modes) __attribute__ ((__nothrow__ , __leaf__)) ;
0454: # 278 "/usr/include/stdio.h" 3 4
0455: extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
0456: __attribute__ ((__nothrow__ , __leaf__)) ;
0457:
0458:
0459:
0460:
0461: extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __attribute__ ((__nothrow__ , __leaf__)) ;
0462:
0463:
0464:
0465:
0466:
0467: extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __attribute__ ((__nothrow__ , __leaf__));
0468:
0469:
0470:
0471: extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
0472: int __modes, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
0473:
0474:
0475:
0476:
0477: extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
0478: size_t __size) __attribute__ ((__nothrow__ , __leaf__));
0479:
0480:
0481: extern void setlinebuf (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
0482:
0483:
0484:
0485:
0486:
0487:
0488:
0489: extern int fprintf (FILE *__restrict __stream,
0490: const char *__restrict __format, ...);
0491:
0492:
0493:
0494:
0495: extern int printf (const char *__restrict __format, ...);
0496:
0497: extern int sprintf (char *__restrict __s,
0498: const char *__restrict __format, ...) __attribute__ ((__nothrow__));
0499:
0500:
0501:
0502:
0503:
0504: extern int vfprintf (FILE *__restrict __s, const char *__restrict __format,
0505: __gnuc_va_list __arg);
0506:
0507:
0508:
0509:
0510: extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg);
0511:
0512: extern int vsprintf (char *__restrict __s, const char *__restrict __format,
0513: __gnuc_va_list __arg) __attribute__ ((__nothrow__));
0514:
0515:
0516:
0517: extern int snprintf (char *__restrict __s, size_t __maxlen,
0518: const char *__restrict __format, ...)
0519: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 4)));
0520:
0521: extern int vsnprintf (char *__restrict __s, size_t __maxlen,
0522: const char *__restrict __format, __gnuc_va_list __arg)
0523: __attribute__ ((__nothrow__)) __attribute__ ((__format__ (__printf__, 3, 0)));
0524: # 365 "/usr/include/stdio.h" 3 4
0525: extern int vdprintf (int __fd, const char *__restrict __fmt,
0526: __gnuc_va_list __arg)
0527: __attribute__ ((__format__ (__printf__, 2, 0)));
0528: extern int dprintf (int __fd, const char *__restrict __fmt, ...)
0529: __attribute__ ((__format__ (__printf__, 2, 3)));
0530:
0531:
0532:
0533:
0534:
0535:
0536:
0537: extern int fscanf (FILE *__restrict __stream,
0538: const char *__restrict __format, ...) ;
0539:
0540:
0541:
0542:
0543: extern int scanf (const char *__restrict __format, ...) ;
0544:
0545: extern int sscanf (const char *__restrict __s,
0546: const char *__restrict __format, ...) __attribute__ ((__nothrow__ , __leaf__));
0547: # 395 "/usr/include/stdio.h" 3 4
0548: extern int fscanf (FILE *__restrict __stream, const char *__restrict __format, ...) __asm__ ("" "__isoc99_fscanf")
0549:
0550: ;
0551: extern int scanf (const char *__restrict __format, ...) __asm__ ("" "__isoc99_scanf")
0552: ;
0553: extern int sscanf (const char *__restrict __s, const char *__restrict __format, ...) __asm__ ("" "__isoc99_sscanf") __attribute__ ((__nothrow__ , __leaf__))
0554:
0555: ;
0556: # 420 "/usr/include/stdio.h" 3 4
0557: extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
0558: __gnuc_va_list __arg)
0559: __attribute__ ((__format__ (__scanf__, 2, 0))) ;
0560:
0561:
0562:
0563:
0564:
0565: extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg)
0566: __attribute__ ((__format__ (__scanf__, 1, 0))) ;
0567:
0568:
0569: extern int vsscanf (const char *__restrict __s,
0570: const char *__restrict __format, __gnuc_va_list __arg)
0571: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__format__ (__scanf__, 2, 0)));
0572: # 443 "/usr/include/stdio.h" 3 4
0573: extern int vfscanf (FILE *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vfscanf")
0574:
0575:
0576:
0577: __attribute__ ((__format__ (__scanf__, 2, 0))) ;
0578: extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vscanf")
0579:
0580: __attribute__ ((__format__ (__scanf__, 1, 0))) ;
0581: extern int vsscanf (const char *__restrict __s, const char *__restrict __format, __gnuc_va_list __arg) __asm__ ("" "__isoc99_vsscanf") __attribute__ ((__nothrow__ , __leaf__))
0582:
0583:
0584:
0585: __attribute__ ((__format__ (__scanf__, 2, 0)));
0586: # 477 "/usr/include/stdio.h" 3 4
0587: extern int fgetc (FILE *__stream);
0588: extern int getc (FILE *__stream);
0589:
0590:
0591:
0592:
0593:
0594: extern int getchar (void);
0595: # 495 "/usr/include/stdio.h" 3 4
0596: extern int getc_unlocked (FILE *__stream);
0597: extern int getchar_unlocked (void);
0598: # 506 "/usr/include/stdio.h" 3 4
0599: extern int fgetc_unlocked (FILE *__stream);
0600: # 517 "/usr/include/stdio.h" 3 4
0601: extern int fputc (int __c, FILE *__stream);
0602: extern int putc (int __c, FILE *__stream);
0603:
0604:
0605:
0606:
0607:
0608: extern int putchar (int __c);
0609: # 537 "/usr/include/stdio.h" 3 4
0610: extern int fputc_unlocked (int __c, FILE *__stream);
0611:
0612:
0613:
0614:
0615:
0616:
0617:
0618: extern int putc_unlocked (int __c, FILE *__stream);
0619: extern int putchar_unlocked (int __c);
0620:
0621:
0622:
0623:
0624:
0625:
0626: extern int getw (FILE *__stream);
0627:
0628:
0629: extern int putw (int __w, FILE *__stream);
0630:
0631:
0632:
0633:
0634:
0635:
0636:
0637: extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
0638: ;
0639: # 603 "/usr/include/stdio.h" 3 4
0640: extern __ssize_t __getdelim (char **__restrict __lineptr,
0641: size_t *__restrict __n, int __delimiter,
0642: FILE *__restrict __stream) ;
0643: extern __ssize_t getdelim (char **__restrict __lineptr,
0644: size_t *__restrict __n, int __delimiter,
0645: FILE *__restrict __stream) ;
0646:
0647:
0648:
0649:
0650:
0651:
0652:
0653: extern __ssize_t getline (char **__restrict __lineptr,
0654: size_t *__restrict __n,
0655: FILE *__restrict __stream) ;
0656:
0657:
0658:
0659:
0660:
0661:
0662:
0663: extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
0664:
0665:
0666:
0667:
0668:
0669: extern int puts (const char *__s);
0670:
0671:
0672:
0673:
0674:
0675:
0676: extern int ungetc (int __c, FILE *__stream);
0677:
0678:
0679:
0680:
0681:
0682:
0683: extern size_t fread (void *__restrict __ptr, size_t __size,
0684: size_t __n, FILE *__restrict __stream) ;
0685:
0686:
0687:
0688:
0689: extern size_t fwrite (const void *__restrict __ptr, size_t __size,
0690: size_t __n, FILE *__restrict __s);
0691: # 673 "/usr/include/stdio.h" 3 4
0692: extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
0693: size_t __n, FILE *__restrict __stream) ;
0694: extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
0695: size_t __n, FILE *__restrict __stream);
0696:
0697:
0698:
0699:
0700:
0701:
0702:
0703: extern int fseek (FILE *__stream, long int __off, int __whence);
0704:
0705:
0706:
0707:
0708: extern long int ftell (FILE *__stream) ;
0709:
0710:
0711:
0712:
0713: extern void rewind (FILE *__stream);
0714: # 707 "/usr/include/stdio.h" 3 4
0715: extern int fseeko (FILE *__stream, __off_t __off, int __whence);
0716:
0717:
0718:
0719:
0720: extern __off_t ftello (FILE *__stream) ;
0721: # 731 "/usr/include/stdio.h" 3 4
0722: extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
0723:
0724:
0725:
0726:
0727: extern int fsetpos (FILE *__stream, const fpos_t *__pos);
0728: # 757 "/usr/include/stdio.h" 3 4
0729: extern void clearerr (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
0730:
0731: extern int feof (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
0732:
0733: extern int ferror (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
0734:
0735:
0736:
0737: extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
0738: extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
0739: extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
0740:
0741:
0742:
0743:
0744:
0745:
0746:
0747: extern void perror (const char *__s);
0748:
0749:
0750:
0751:
0752:
0753: # 1 "/usr/include/x86_64-linux-gnu/bits/sys_errlist.h" 1 3 4
0754: # 26 "/usr/include/x86_64-linux-gnu/bits/sys_errlist.h" 3 4
0755: extern int sys_nerr;
0756: extern const char *const sys_errlist[];
0757: # 782 "/usr/include/stdio.h" 2 3 4
0758:
0759:
0760:
0761:
0762: extern int fileno (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
0763:
0764:
0765:
0766:
0767: extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
0768: # 800 "/usr/include/stdio.h" 3 4
0769: extern FILE *popen (const char *__command, const char *__modes) ;
0770:
0771:
0772:
0773:
0774:
0775: extern int pclose (FILE *__stream);
0776:
0777:
0778:
0779:
0780:
0781: extern char *ctermid (char *__s) __attribute__ ((__nothrow__ , __leaf__));
0782: # 840 "/usr/include/stdio.h" 3 4
0783: extern void flockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
0784:
0785:
0786:
0787: extern int ftrylockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__)) ;
0788:
0789:
0790: extern void funlockfile (FILE *__stream) __attribute__ ((__nothrow__ , __leaf__));
0791: # 868 "/usr/include/stdio.h" 3 4
0792:
0793: # 2 "060_005prim.c" 2
0794: # 1 "/usr/include/stdlib.h" 1 3 4
0795: # 25 "/usr/include/stdlib.h" 3 4
0796: # 1 "/usr/include/x86_64-linux-gnu/bits/libc-header-start.h" 1 3 4
0797: # 26 "/usr/include/stdlib.h" 2 3 4
0798:
0799:
0800:
0801:
0802:
0803: # 1 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h" 1 3 4
0804: # 328 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h" 3 4
0805: typedef int wchar_t;
0806: # 32 "/usr/include/stdlib.h" 2 3 4
0807:
0808:
0809:
0810:
0811:
0812:
0813:
0814: # 1 "/usr/include/x86_64-linux-gnu/bits/waitflags.h" 1 3 4
0815: # 52 "/usr/include/x86_64-linux-gnu/bits/waitflags.h" 3 4
0816: typedef enum
0817: {
0818: P_ALL,
0819: P_PID,
0820: P_PGID
0821: } idtype_t;
0822: # 40 "/usr/include/stdlib.h" 2 3 4
0823: # 1 "/usr/include/x86_64-linux-gnu/bits/waitstatus.h" 1 3 4
0824: # 41 "/usr/include/stdlib.h" 2 3 4
0825: # 55 "/usr/include/stdlib.h" 3 4
0826: # 1 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 1 3 4
0827: # 120 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 3 4
0828: # 1 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 1 3 4
0829: # 24 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 3 4
0830: # 1 "/usr/include/x86_64-linux-gnu/bits/long-double.h" 1 3 4
0831: # 25 "/usr/include/x86_64-linux-gnu/bits/floatn-common.h" 2 3 4
0832: # 121 "/usr/include/x86_64-linux-gnu/bits/floatn.h" 2 3 4
0833: # 56 "/usr/include/stdlib.h" 2 3 4
0834:
0835:
0836: typedef struct
0837: {
0838: int quot;
0839: int rem;
0840: } div_t;
0841:
0842:
0843:
0844: typedef struct
0845: {
0846: long int quot;
0847: long int rem;
0848: } ldiv_t;
0849:
0850:
0851:
0852:
0853:
0854: __extension__ typedef struct
0855: {
0856: long long int quot;
0857: long long int rem;
0858: } lldiv_t;
0859: # 97 "/usr/include/stdlib.h" 3 4
0860: extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__ , __leaf__)) ;
0861:
0862:
0863:
0864: extern double atof (const char *__nptr)
0865: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
0866:
0867: extern int atoi (const char *__nptr)
0868: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
0869:
0870: extern long int atol (const char *__nptr)
0871: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
0872:
0873:
0874:
0875: __extension__ extern long long int atoll (const char *__nptr)
0876: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
0877:
0878:
0879:
0880: extern double strtod (const char *__restrict __nptr,
0881: char **__restrict __endptr)
0882: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
0883:
0884:
0885:
0886: extern float strtof (const char *__restrict __nptr,
0887: char **__restrict __endptr) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
0888:
0889: extern long double strtold (const char *__restrict __nptr,
0890: char **__restrict __endptr)
0891: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
0892: # 176 "/usr/include/stdlib.h" 3 4
0893: extern long int strtol (const char *__restrict __nptr,
0894: char **__restrict __endptr, int __base)
0895: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
0896:
0897: extern unsigned long int strtoul (const char *__restrict __nptr,
0898: char **__restrict __endptr, int __base)
0899: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
0900:
0901:
0902:
0903: __extension__
0904: extern long long int strtoq (const char *__restrict __nptr,
0905: char **__restrict __endptr, int __base)
0906: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
0907:
0908: __extension__
0909: extern unsigned long long int strtouq (const char *__restrict __nptr,
0910: char **__restrict __endptr, int __base)
0911: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
0912:
0913:
0914:
0915:
0916: __extension__
0917: extern long long int strtoll (const char *__restrict __nptr,
0918: char **__restrict __endptr, int __base)
0919: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
0920:
0921: __extension__
0922: extern unsigned long long int strtoull (const char *__restrict __nptr,
0923: char **__restrict __endptr, int __base)
0924: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
0925: # 385 "/usr/include/stdlib.h" 3 4
0926: extern char *l64a (long int __n) __attribute__ ((__nothrow__ , __leaf__)) ;
0927:
0928:
0929: extern long int a64l (const char *__s)
0930: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ;
0931:
0932:
0933:
0934:
0935: # 1 "/usr/include/x86_64-linux-gnu/sys/types.h" 1 3 4
0936: # 27 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
0937:
0938:
0939:
0940:
0941:
0942:
0943: typedef __u_char u_char;
0944: typedef __u_short u_short;
0945: typedef __u_int u_int;
0946: typedef __u_long u_long;
0947: typedef __quad_t quad_t;
0948: typedef __u_quad_t u_quad_t;
0949: typedef __fsid_t fsid_t;
0950:
0951:
0952:
0953:
0954: typedef __loff_t loff_t;
0955:
0956:
0957:
0958: typedef __ino_t ino_t;
0959: # 60 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
0960: typedef __dev_t dev_t;
0961:
0962:
0963:
0964:
0965: typedef __gid_t gid_t;
0966:
0967:
0968:
0969:
0970: typedef __mode_t mode_t;
0971:
0972:
0973:
0974:
0975: typedef __nlink_t nlink_t;
0976:
0977:
0978:
0979:
0980: typedef __uid_t uid_t;
0981: # 98 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
0982: typedef __pid_t pid_t;
0983:
0984:
0985:
0986:
0987:
0988: typedef __id_t id_t;
0989: # 115 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
0990: typedef __daddr_t daddr_t;
0991: typedef __caddr_t caddr_t;
0992:
0993:
0994:
0995:
0996:
0997: typedef __key_t key_t;
0998:
0999:
1000:
1001:
1002: # 1 "/usr/include/x86_64-linux-gnu/bits/types/clock_t.h" 1 3 4
1003:
1004:
1005:
1006:
1007:
1008:
1009: typedef __clock_t clock_t;
1010: # 128 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
1011:
1012: # 1 "/usr/include/x86_64-linux-gnu/bits/types/clockid_t.h" 1 3 4
1013:
1014:
1015:
1016:
1017:
1018:
1019: typedef __clockid_t clockid_t;
1020: # 130 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
1021: # 1 "/usr/include/x86_64-linux-gnu/bits/types/time_t.h" 1 3 4
1022:
1023:
1024:
1025:
1026:
1027:
1028: typedef __time_t time_t;
1029: # 131 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
1030: # 1 "/usr/include/x86_64-linux-gnu/bits/types/timer_t.h" 1 3 4
1031:
1032:
1033:
1034:
1035:
1036:
1037: typedef __timer_t timer_t;
1038: # 132 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
1039: # 145 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
1040: # 1 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h" 1 3 4
1041: # 146 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
1042:
1043:
1044:
1045: typedef unsigned long int ulong;
1046: typedef unsigned short int ushort;
1047: typedef unsigned int uint;
1048:
1049:
1050:
1051:
1052: # 1 "/usr/include/x86_64-linux-gnu/bits/stdint-intn.h" 1 3 4
1053: # 24 "/usr/include/x86_64-linux-gnu/bits/stdint-intn.h" 3 4
1054: typedef __int8_t int8_t;
1055: typedef __int16_t int16_t;
1056: typedef __int32_t int32_t;
1057: typedef __int64_t int64_t;
1058: # 157 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
1059: # 178 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
1060: typedef unsigned int u_int8_t __attribute__ ((__mode__ (__QI__)));
1061: typedef unsigned int u_int16_t __attribute__ ((__mode__ (__HI__)));
1062: typedef unsigned int u_int32_t __attribute__ ((__mode__ (__SI__)));
1063: typedef unsigned int u_int64_t __attribute__ ((__mode__ (__DI__)));
1064:
1065: typedef int register_t __attribute__ ((__mode__ (__word__)));
1066: # 194 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
1067: # 1 "/usr/include/endian.h" 1 3 4
1068: # 36 "/usr/include/endian.h" 3 4
1069: # 1 "/usr/include/x86_64-linux-gnu/bits/endian.h" 1 3 4
1070: # 37 "/usr/include/endian.h" 2 3 4
1071: # 60 "/usr/include/endian.h" 3 4
1072: # 1 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 1 3 4
1073: # 28 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 3 4
1074: # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
1075: # 29 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 2 3 4
1076:
1077:
1078:
1079:
1080:
1081:
1082: # 1 "/usr/include/x86_64-linux-gnu/bits/byteswap-16.h" 1 3 4
1083: # 36 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 2 3 4
1084: # 44 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 3 4
1085: static __inline unsigned int
1086: __bswap_32 (unsigned int __bsx)
1087: {
1088: return __builtin_bswap32 (__bsx);
1089: }
1090: # 108 "/usr/include/x86_64-linux-gnu/bits/byteswap.h" 3 4
1091: static __inline __uint64_t
1092: __bswap_64 (__uint64_t __bsx)
1093: {
1094: return __builtin_bswap64 (__bsx);
1095: }
1096: # 61 "/usr/include/endian.h" 2 3 4
1097: # 1 "/usr/include/x86_64-linux-gnu/bits/uintn-identity.h" 1 3 4
1098: # 32 "/usr/include/x86_64-linux-gnu/bits/uintn-identity.h" 3 4
1099: static __inline __uint16_t
1100: __uint16_identity (__uint16_t __x)
1101: {
1102: return __x;
1103: }
1104:
1105: static __inline __uint32_t
1106: __uint32_identity (__uint32_t __x)
1107: {
1108: return __x;
1109: }
1110:
1111: static __inline __uint64_t
1112: __uint64_identity (__uint64_t __x)
1113: {
1114: return __x;
1115: }
1116: # 62 "/usr/include/endian.h" 2 3 4
1117: # 195 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
1118:
1119:
1120: # 1 "/usr/include/x86_64-linux-gnu/sys/select.h" 1 3 4
1121: # 30 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
1122: # 1 "/usr/include/x86_64-linux-gnu/bits/select.h" 1 3 4
1123: # 22 "/usr/include/x86_64-linux-gnu/bits/select.h" 3 4
1124: # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
1125: # 23 "/usr/include/x86_64-linux-gnu/bits/select.h" 2 3 4
1126: # 31 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
1127:
1128:
1129: # 1 "/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h" 1 3 4
1130:
1131:
1132:
1133: # 1 "/usr/include/x86_64-linux-gnu/bits/types/__sigset_t.h" 1 3 4
1134:
1135:
1136:
1137:
1138: typedef struct
1139: {
1140: unsigned long int __val[(1024 / (8 * sizeof (unsigned long int)))];
1141: } __sigset_t;
1142: # 5 "/usr/include/x86_64-linux-gnu/bits/types/sigset_t.h" 2 3 4
1143:
1144:
1145: typedef __sigset_t sigset_t;
1146: # 34 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
1147:
1148:
1149:
1150: # 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_timeval.h" 1 3 4
1151:
1152:
1153:
1154:
1155:
1156:
1157:
1158: struct timeval
1159: {
1160: __time_t tv_sec;
1161: __suseconds_t tv_usec;
1162: };
1163: # 38 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
1164:
1165: # 1 "/usr/include/x86_64-linux-gnu/bits/types/struct_timespec.h" 1 3 4
1166:
1167:
1168:
1169:
1170:
1171:
1172:
1173: struct timespec
1174: {
1175: __time_t tv_sec;
1176: __syscall_slong_t tv_nsec;
1177: };
1178: # 40 "/usr/include/x86_64-linux-gnu/sys/select.h" 2 3 4
1179:
1180:
1181:
1182: typedef __suseconds_t suseconds_t;
1183:
1184:
1185:
1186:
1187:
1188: typedef long int __fd_mask;
1189: # 59 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
1190: typedef struct
1191: {
1192:
1193:
1194:
1195:
1196:
1197:
1198: __fd_mask __fds_bits[1024 / (8 * (int) sizeof (__fd_mask))];
1199:
1200:
1201: } fd_set;
1202:
1203:
1204:
1205:
1206:
1207:
1208: typedef __fd_mask fd_mask;
1209: # 91 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
1210:
1211: # 101 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
1212: extern int select (int __nfds, fd_set *__restrict __readfds,
1213: fd_set *__restrict __writefds,
1214: fd_set *__restrict __exceptfds,
1215: struct timeval *__restrict __timeout);
1216: # 113 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
1217: extern int pselect (int __nfds, fd_set *__restrict __readfds,
1218: fd_set *__restrict __writefds,
1219: fd_set *__restrict __exceptfds,
1220: const struct timespec *__restrict __timeout,
1221: const __sigset_t *__restrict __sigmask);
1222: # 126 "/usr/include/x86_64-linux-gnu/sys/select.h" 3 4
1223:
1224: # 198 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
1225:
1226:
1227:
1228:
1229:
1230:
1231:
1232: # 1 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 1 3 4
1233: # 41 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 3 4
1234: # 1 "/usr/include/x86_64-linux-gnu/bits/sysmacros.h" 1 3 4
1235: # 42 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 2 3 4
1236: # 71 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 3 4
1237:
1238:
1239: extern unsigned int gnu_dev_major (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
1240: extern unsigned int gnu_dev_minor (__dev_t __dev) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
1241: extern __dev_t gnu_dev_makedev (unsigned int __major, unsigned int __minor) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__));
1242: # 85 "/usr/include/x86_64-linux-gnu/sys/sysmacros.h" 3 4
1243:
1244: # 206 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
1245:
1246:
1247:
1248:
1249:
1250:
1251: typedef __blksize_t blksize_t;
1252:
1253:
1254:
1255:
1256:
1257:
1258: typedef __blkcnt_t blkcnt_t;
1259:
1260:
1261:
1262: typedef __fsblkcnt_t fsblkcnt_t;
1263:
1264:
1265:
1266: typedef __fsfilcnt_t fsfilcnt_t;
1267: # 254 "/usr/include/x86_64-linux-gnu/sys/types.h" 3 4
1268: # 1 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 1 3 4
1269: # 23 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 3 4
1270: # 1 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 1 3 4
1271: # 77 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
1272: # 1 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 1 3 4
1273: # 21 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 3 4
1274: # 1 "/usr/include/x86_64-linux-gnu/bits/wordsize.h" 1 3 4
1275: # 22 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 2 3 4
1276: # 65 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 3 4
1277: struct __pthread_rwlock_arch_t
1278: {
1279: unsigned int __readers;
1280: unsigned int __writers;
1281: unsigned int __wrphase_futex;
1282: unsigned int __writers_futex;
1283: unsigned int __pad3;
1284: unsigned int __pad4;
1285:
1286: int __cur_writer;
1287: int __shared;
1288: signed char __rwelision;
1289:
1290:
1291:
1292:
1293: unsigned char __pad1[7];
1294:
1295:
1296: unsigned long int __pad2;
1297:
1298:
1299: unsigned int __flags;
1300: # 99 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes-arch.h" 3 4
1301: };
1302: # 78 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 2 3 4
1303:
1304:
1305:
1306:
1307: typedef struct __pthread_internal_list
1308: {
1309: struct __pthread_internal_list *__prev;
1310: struct __pthread_internal_list *__next;
1311: } __pthread_list_t;
1312: # 118 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
1313: struct __pthread_mutex_s
1314: {
1315: int __lock ;
1316: unsigned int __count;
1317: int __owner;
1318:
1319: unsigned int __nusers;
1320:
1321:
1322:
1323: int __kind;
1324:
1325:
1326:
1327:
1328:
1329: short __spins; short __elision;
1330: __pthread_list_t __list;
1331: # 145 "/usr/include/x86_64-linux-gnu/bits/thread-shared-types.h" 3 4
1332:
1333: };
1334:
1335:
1336:
1337:
1338: struct __pthread_cond_s
1339: {
1340: __extension__ union
1341: {
1342: __extension__ unsigned long long int __wseq;
1343: struct
1344: {
1345: unsigned int __low;
1346: unsigned int __high;
1347: } __wseq32;
1348: };
1349: __extension__ union
1350: {
1351: __extension__ unsigned long long int __g1_start;
1352: struct
1353: {
1354: unsigned int __low;
1355: unsigned int __high;
1356: } __g1_start32;
1357: };
1358: unsigned int __g_refs[2] ;
1359: unsigned int __g_size[2];
1360: unsigned int __g1_orig_size;
1361: unsigned int __wrefs;
1362: unsigned int __g_signals[2];
1363: };
1364: # 24 "/usr/include/x86_64-linux-gnu/bits/pthreadtypes.h" 2 3 4
1365:
1366:
1367:
1368: typedef unsigned long int pthread_t;
1369:
1370:
1371:
1372:
1373: typedef union
1374: {
1375: char __size[4];
1376: int __align;
1377: } pthread_mutexattr_t;
1378:
1379:
1380:
1381:
1382: typedef union
1383: {
1384: char __size[4];
1385: int __align;
1386: } pthread_condattr_t;
1387:
1388:
1389:
1390: typedef unsigned int pthread_key_t;
1391:
1392:
1393:
1394: typedef int pthread_once_t;
1395:
1396:
1397: union pthread_attr_t
1398: {
1399: char __size[56];
1400: long int __align;
1401: };
1402:
1403: typedef union pthread_attr_t pthread_attr_t;
1404:
1405:
1406:
1407:
1408: typedef union
1409: {
1410: struct __pthread_mutex_s __data;
1411: char __size[40];
1412: long int __align;
1413: } pthread_mutex_t;
1414:
1415:
1416: typedef union
1417: {
1418: struct __pthread_cond_s __data;
1419: char __size[48];
1420: __extension__ long long int __align;
1421: } pthread_cond_t;
1422:
1423:
1424:
1425:
1426:
1427: typedef union
1428: {
1429: struct __pthread_rwlock_arch_t __data;
1430: char __size[56];
1431: long int __align;
1432: } pthread_rwlock_t;
1433:
1434: typedef union
1435: {
1436: char __size[8];
1437: long int __align;
1438: } pthread_rwlockattr_t;
1439:
1440:
1441:
1442:
1443:
1444: typedef volatile int pthread_spinlock_t;
1445:
1446:
1447:
1448:
1449: typedef union
1450: {
1451: char __size[32];
1452: long int __align;
1453: } pthread_barrier_t;
1454:
1455: typedef union
1456: {
1457: char __size[4];
1458: int __align;
1459: } pthread_barrierattr_t;
1460: # 255 "/usr/include/x86_64-linux-gnu/sys/types.h" 2 3 4
1461:
1462:
1463:
1464: # 395 "/usr/include/stdlib.h" 2 3 4
1465:
1466:
1467:
1468:
1469:
1470:
1471: extern long int random (void) __attribute__ ((__nothrow__ , __leaf__));
1472:
1473:
1474: extern void srandom (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__));
1475:
1476:
1477:
1478:
1479:
1480: extern char *initstate (unsigned int __seed, char *__statebuf,
1481: size_t __statelen) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
1482:
1483:
1484:
1485: extern char *setstate (char *__statebuf) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1486:
1487:
1488:
1489:
1490:
1491:
1492:
1493: struct random_data
1494: {
1495: int32_t *fptr;
1496: int32_t *rptr;
1497: int32_t *state;
1498: int rand_type;
1499: int rand_deg;
1500: int rand_sep;
1501: int32_t *end_ptr;
1502: };
1503:
1504: extern int random_r (struct random_data *__restrict __buf,
1505: int32_t *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1506:
1507: extern int srandom_r (unsigned int __seed, struct random_data *__buf)
1508: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
1509:
1510: extern int initstate_r (unsigned int __seed, char *__restrict __statebuf,
1511: size_t __statelen,
1512: struct random_data *__restrict __buf)
1513: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2, 4)));
1514:
1515: extern int setstate_r (char *__restrict __statebuf,
1516: struct random_data *__restrict __buf)
1517: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1518:
1519:
1520:
1521:
1522:
1523: extern int rand (void) __attribute__ ((__nothrow__ , __leaf__));
1524:
1525: extern void srand (unsigned int __seed) __attribute__ ((__nothrow__ , __leaf__));
1526:
1527:
1528:
1529: extern int rand_r (unsigned int *__seed) __attribute__ ((__nothrow__ , __leaf__));
1530:
1531:
1532:
1533:
1534:
1535:
1536:
1537: extern double drand48 (void) __attribute__ ((__nothrow__ , __leaf__));
1538: extern double erand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1539:
1540:
1541: extern long int lrand48 (void) __attribute__ ((__nothrow__ , __leaf__));
1542: extern long int nrand48 (unsigned short int __xsubi[3])
1543: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1544:
1545:
1546: extern long int mrand48 (void) __attribute__ ((__nothrow__ , __leaf__));
1547: extern long int jrand48 (unsigned short int __xsubi[3])
1548: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1549:
1550:
1551: extern void srand48 (long int __seedval) __attribute__ ((__nothrow__ , __leaf__));
1552: extern unsigned short int *seed48 (unsigned short int __seed16v[3])
1553: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1554: extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1555:
1556:
1557:
1558:
1559:
1560: struct drand48_data
1561: {
1562: unsigned short int __x[3];
1563: unsigned short int __old_x[3];
1564: unsigned short int __c;
1565: unsigned short int __init;
1566: __extension__ unsigned long long int __a;
1567:
1568: };
1569:
1570:
1571: extern int drand48_r (struct drand48_data *__restrict __buffer,
1572: double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1573: extern int erand48_r (unsigned short int __xsubi[3],
1574: struct drand48_data *__restrict __buffer,
1575: double *__restrict __result) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1576:
1577:
1578: extern int lrand48_r (struct drand48_data *__restrict __buffer,
1579: long int *__restrict __result)
1580: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1581: extern int nrand48_r (unsigned short int __xsubi[3],
1582: struct drand48_data *__restrict __buffer,
1583: long int *__restrict __result)
1584: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1585:
1586:
1587: extern int mrand48_r (struct drand48_data *__restrict __buffer,
1588: long int *__restrict __result)
1589: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1590: extern int jrand48_r (unsigned short int __xsubi[3],
1591: struct drand48_data *__restrict __buffer,
1592: long int *__restrict __result)
1593: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1594:
1595:
1596: extern int srand48_r (long int __seedval, struct drand48_data *__buffer)
1597: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
1598:
1599: extern int seed48_r (unsigned short int __seed16v[3],
1600: struct drand48_data *__buffer) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1601:
1602: extern int lcong48_r (unsigned short int __param[7],
1603: struct drand48_data *__buffer)
1604: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2)));
1605:
1606:
1607:
1608:
1609: extern void *malloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ;
1610:
1611: extern void *calloc (size_t __nmemb, size_t __size)
1612: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ;
1613:
1614:
1615:
1616:
1617:
1618:
1619: extern void *realloc (void *__ptr, size_t __size)
1620: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__warn_unused_result__));
1621: # 563 "/usr/include/stdlib.h" 3 4
1622: extern void free (void *__ptr) __attribute__ ((__nothrow__ , __leaf__));
1623:
1624:
1625: # 1 "/usr/include/alloca.h" 1 3 4
1626: # 24 "/usr/include/alloca.h" 3 4
1627: # 1 "/usr/lib/gcc/x86_64-linux-gnu/7/include/stddef.h" 1 3 4
1628: # 25 "/usr/include/alloca.h" 2 3 4
1629:
1630:
1631:
1632:
1633:
1634:
1635:
1636: extern void *alloca (size_t __size) __attribute__ ((__nothrow__ , __leaf__));
1637:
1638:
1639:
1640:
1641:
1642:
1643: # 567 "/usr/include/stdlib.h" 2 3 4
1644:
1645:
1646:
1647:
1648:
1649: extern void *valloc (size_t __size) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) ;
1650:
1651:
1652:
1653:
1654: extern int posix_memalign (void **__memptr, size_t __alignment, size_t __size)
1655: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
1656:
1657:
1658:
1659:
1660: extern void *aligned_alloc (size_t __alignment, size_t __size)
1661: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__malloc__)) __attribute__ ((__alloc_size__ (2))) ;
1662:
1663:
1664:
1665: extern void abort (void) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
1666:
1667:
1668:
1669: extern int atexit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1670:
1671:
1672:
1673:
1674:
1675:
1676:
1677: extern int at_quick_exit (void (*__func) (void)) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1678:
1679:
1680:
1681:
1682:
1683:
1684: extern int on_exit (void (*__func) (int __status, void *__arg), void *__arg)
1685: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1686:
1687:
1688:
1689:
1690:
1691: extern void exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
1692:
1693:
1694:
1695:
1696:
1697: extern void quick_exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
1698:
1699:
1700:
1701:
1702:
1703: extern void _Exit (int __status) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__noreturn__));
1704:
1705:
1706:
1707:
1708: extern char *getenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
1709: # 644 "/usr/include/stdlib.h" 3 4
1710: extern int putenv (char *__string) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1711:
1712:
1713:
1714:
1715:
1716: extern int setenv (const char *__name, const char *__value, int __replace)
1717: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (2)));
1718:
1719:
1720: extern int unsetenv (const char *__name) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1721:
1722:
1723:
1724:
1725:
1726:
1727: extern int clearenv (void) __attribute__ ((__nothrow__ , __leaf__));
1728: # 672 "/usr/include/stdlib.h" 3 4
1729: extern char *mktemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1730: # 685 "/usr/include/stdlib.h" 3 4
1731: extern int mkstemp (char *__template) __attribute__ ((__nonnull__ (1))) ;
1732: # 707 "/usr/include/stdlib.h" 3 4
1733: extern int mkstemps (char *__template, int __suffixlen) __attribute__ ((__nonnull__ (1))) ;
1734: # 728 "/usr/include/stdlib.h" 3 4
1735: extern char *mkdtemp (char *__template) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
1736: # 781 "/usr/include/stdlib.h" 3 4
1737: extern int system (const char *__command) ;
1738: # 797 "/usr/include/stdlib.h" 3 4
1739: extern char *realpath (const char *__restrict __name,
1740: char *__restrict __resolved) __attribute__ ((__nothrow__ , __leaf__)) ;
1741:
1742:
1743:
1744:
1745:
1746:
1747: typedef int (*__compar_fn_t) (const void *, const void *);
1748: # 817 "/usr/include/stdlib.h" 3 4
1749: extern void *bsearch (const void *__key, const void *__base,
1750: size_t __nmemb, size_t __size, __compar_fn_t __compar)
1751: __attribute__ ((__nonnull__ (1, 2, 5))) ;
1752:
1753:
1754:
1755:
1756:
1757:
1758:
1759: extern void qsort (void *__base, size_t __nmemb, size_t __size,
1760: __compar_fn_t __compar) __attribute__ ((__nonnull__ (1, 4)));
1761: # 837 "/usr/include/stdlib.h" 3 4
1762: extern int abs (int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
1763: extern long int labs (long int __x) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
1764:
1765:
1766: __extension__ extern long long int llabs (long long int __x)
1767: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
1768:
1769:
1770:
1771:
1772:
1773:
1774: extern div_t div (int __numer, int __denom)
1775: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
1776: extern ldiv_t ldiv (long int __numer, long int __denom)
1777: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
1778:
1779:
1780: __extension__ extern lldiv_t lldiv (long long int __numer,
1781: long long int __denom)
1782: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__const__)) ;
1783: # 869 "/usr/include/stdlib.h" 3 4
1784: extern char *ecvt (double __value, int __ndigit, int *__restrict __decpt,
1785: int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ;
1786:
1787:
1788:
1789:
1790: extern char *fcvt (double __value, int __ndigit, int *__restrict __decpt,
1791: int *__restrict __sign) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ;
1792:
1793:
1794:
1795:
1796: extern char *gcvt (double __value, int __ndigit, char *__buf)
1797: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ;
1798:
1799:
1800:
1801:
1802: extern char *qecvt (long double __value, int __ndigit,
1803: int *__restrict __decpt, int *__restrict __sign)
1804: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ;
1805: extern char *qfcvt (long double __value, int __ndigit,
1806: int *__restrict __decpt, int *__restrict __sign)
1807: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4))) ;
1808: extern char *qgcvt (long double __value, int __ndigit, char *__buf)
1809: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3))) ;
1810:
1811:
1812:
1813:
1814: extern int ecvt_r (double __value, int __ndigit, int *__restrict __decpt,
1815: int *__restrict __sign, char *__restrict __buf,
1816: size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1817: extern int fcvt_r (double __value, int __ndigit, int *__restrict __decpt,
1818: int *__restrict __sign, char *__restrict __buf,
1819: size_t __len) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1820:
1821: extern int qecvt_r (long double __value, int __ndigit,
1822: int *__restrict __decpt, int *__restrict __sign,
1823: char *__restrict __buf, size_t __len)
1824: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1825: extern int qfcvt_r (long double __value, int __ndigit,
1826: int *__restrict __decpt, int *__restrict __sign,
1827: char *__restrict __buf, size_t __len)
1828: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (3, 4, 5)));
1829:
1830:
1831:
1832:
1833:
1834: extern int mblen (const char *__s, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
1835:
1836:
1837: extern int mbtowc (wchar_t *__restrict __pwc,
1838: const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
1839:
1840:
1841: extern int wctomb (char *__s, wchar_t __wchar) __attribute__ ((__nothrow__ , __leaf__));
1842:
1843:
1844:
1845: extern size_t mbstowcs (wchar_t *__restrict __pwcs,
1846: const char *__restrict __s, size_t __n) __attribute__ ((__nothrow__ , __leaf__));
1847:
1848: extern size_t wcstombs (char *__restrict __s,
1849: const wchar_t *__restrict __pwcs, size_t __n)
1850: __attribute__ ((__nothrow__ , __leaf__));
1851:
1852:
1853:
1854:
1855:
1856:
1857:
1858: extern int rpmatch (const char *__response) __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1))) ;
1859: # 954 "/usr/include/stdlib.h" 3 4
1860: extern int getsubopt (char **__restrict __optionp,
1861: char *const *__restrict __tokens,
1862: char **__restrict __valuep)
1863: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1, 2, 3))) ;
1864: # 1006 "/usr/include/stdlib.h" 3 4
1865: extern int getloadavg (double __loadavg[], int __nelem)
1866: __attribute__ ((__nothrow__ , __leaf__)) __attribute__ ((__nonnull__ (1)));
1867: # 1016 "/usr/include/stdlib.h" 3 4
1868: # 1 "/usr/include/x86_64-linux-gnu/bits/stdlib-float.h" 1 3 4
1869: # 1017 "/usr/include/stdlib.h" 2 3 4
1870: # 1026 "/usr/include/stdlib.h" 3 4
1871:
1872: # 3 "060_005prim.c" 2
1873:
1874:
1875:
1876: # 5 "060_005prim.c"
1877: int main() {
1878: printf("Questo e' il mio primo programma C.\n");
1879: return 0;
1880: }
1881:
Se avete commenti o osservazioni su questa pagina
mandate un messaggio di posta elettronica a bertoƶƶi@ce.unipr.it
mandate un messaggio di posta elettronica a bertoƶƶi@ce.unipr.it