stdio.h
001: 
002: 
003: 
004: 
005: 
006: 
007: 
008: 
009: 
010: 
011: 
012: 
013: 
014: 
015: 
016: 
017: 
018: 
019: 
020: 
021: 
022: 
023: 
024: #ifndef _STDIO_H
025: 
026: #if !defined __need_FILE && !defined __need___FILE
027: # define _STDIO_H       1
028: # include <features.h>
029: 
030: __BEGIN_DECLS
031: 
032: # define __need_size_t
033: # define __need_NULL
034: # include <stddef.h>
035: 
036: # include <bits/types.h>
037: # define __need_FILE
038: # define __need___FILE
039: #endif 
040: 
041: 
042: #if !defined __FILE_defined && defined __need_FILE
043: 
044: 
045: struct _IO_FILE;
046: 
047: __BEGIN_NAMESPACE_STD
048: 
049: typedef struct _IO_FILE FILE;
050: __END_NAMESPACE_STD
051: #if defined __USE_LARGEFILE64 || defined __USE_SVID || defined __USE_POSIX \
052:     || defined __USE_BSD || defined __USE_ISOC99 || defined __USE_XOPEN \
053:     || defined __USE_POSIX2
054: __USING_NAMESPACE_STD(FILE)
055: #endif
056: 
057: # define __FILE_defined 1
058: #endif 
059: #undef  __need_FILE
060: 
061: 
062: #if !defined ____FILE_defined && defined __need___FILE
063: 
064: 
065: typedef struct _IO_FILE __FILE;
066: 
067: # define ____FILE_defined       1
068: #endif 
069: #undef  __need___FILE
070: 
071: 
072: #ifdef  _STDIO_H
073: #define _STDIO_USES_IOSTREAM
074: 
075: #include <libio.h>
076: 
077: #if defined __USE_XOPEN || defined __USE_XOPEN2K8
078: # ifdef __GNUC__
079: #  ifndef _VA_LIST_DEFINED
080: typedef _G_va_list va_list;
081: #   define _VA_LIST_DEFINED
082: #  endif
083: # else
084: #  include <stdarg.h>
085: # endif
086: #endif
087: 
088: #ifdef __USE_XOPEN2K8
089: # ifndef __off_t_defined
090: # ifndef __USE_FILE_OFFSET64
091: typedef __off_t off_t;
092: # else
093: typedef __off64_t off_t;
094: # endif
095: # define __off_t_defined
096: # endif
097: # if defined __USE_LARGEFILE64 && !defined __off64_t_defined
098: typedef __off64_t off64_t;
099: # define __off64_t_defined
100: # endif
101: 
102: # ifndef __ssize_t_defined
103: typedef __ssize_t ssize_t;
104: # define __ssize_t_defined
105: # endif
106: #endif
107: 
108: 
109: __BEGIN_NAMESPACE_STD
110: #ifndef __USE_FILE_OFFSET64
111: typedef _G_fpos_t fpos_t;
112: #else
113: typedef _G_fpos64_t fpos_t;
114: #endif
115: __END_NAMESPACE_STD
116: #ifdef __USE_LARGEFILE64
117: typedef _G_fpos64_t fpos64_t;
118: #endif
119: 
120: 
121: #define _IOFBF 0                
122: #define _IOLBF 1                
123: #define _IONBF 2                
124: 
125: 
126: 
127: #ifndef BUFSIZ
128: # define BUFSIZ _IO_BUFSIZ
129: #endif
130: 
131: 
132: 
133: 
134: #ifndef EOF
135: # define EOF (-1)
136: #endif
137: 
138: 
139: 
140: 
141: #define SEEK_SET        0       
142: #define SEEK_CUR        1       
143: #define SEEK_END        2       
144: #ifdef __USE_GNU
145: # define SEEK_DATA      3       
146: # define SEEK_HOLE      4       
147: #endif
148: 
149: 
150: #if defined __USE_SVID || defined __USE_XOPEN
151: 
152: # define P_tmpdir       "/tmp"
153: #endif
154: 
155: 
156: 
157: 
158: 
159: 
160: 
161: 
162: 
163: 
164: 
165: #include <bits/stdio_lim.h>
166: 
167: 
168: 
169: extern struct _IO_FILE *stdin;          
170: extern struct _IO_FILE *stdout;         
171: extern struct _IO_FILE *stderr;         
172: 
173: #define stdin stdin
174: #define stdout stdout
175: #define stderr stderr
176: 
177: __BEGIN_NAMESPACE_STD
178: 
179: extern int remove (__const char *__filename) __THROW;
180: 
181: extern int rename (__const char *__old, __const char *__new) __THROW;
182: __END_NAMESPACE_STD
183: 
184: #ifdef __USE_ATFILE
185: 
186: extern int renameat (int __oldfd, __const char *__old, int __newfd,
187:                      __const char *__new) __THROW;
188: #endif
189: 
190: __BEGIN_NAMESPACE_STD
191: 
192: 
193: 
194: 
195: #ifndef __USE_FILE_OFFSET64
196: extern FILE *tmpfile (void) __wur;
197: #else
198: # ifdef __REDIRECT
199: extern FILE *__REDIRECT (tmpfile, (void), tmpfile64) __wur;
200: # else
201: #  define tmpfile tmpfile64
202: # endif
203: #endif
204: 
205: #ifdef __USE_LARGEFILE64
206: extern FILE *tmpfile64 (void) __wur;
207: #endif
208: 
209: 
210: extern char *tmpnam (char *__s) __THROW __wur;
211: __END_NAMESPACE_STD
212: 
213: #ifdef __USE_MISC
214: 
215: 
216: extern char *tmpnam_r (char *__s) __THROW __wur;
217: #endif
218: 
219: 
220: #if defined __USE_SVID || defined __USE_XOPEN
221: 
222: 
223: 
224: 
225: 
226: 
227: 
228: extern char *tempnam (__const char *__dir, __const char *__pfx)
229:      __THROW __attribute_malloc__ __wur;
230: #endif
231: 
232: 
233: __BEGIN_NAMESPACE_STD
234: 
235: 
236: 
237: 
238: extern int fclose (FILE *__stream);
239: 
240: 
241: 
242: 
243: extern int fflush (FILE *__stream);
244: __END_NAMESPACE_STD
245: 
246: #ifdef __USE_MISC
247: 
248: 
249: 
250: 
251: 
252: 
253: extern int fflush_unlocked (FILE *__stream);
254: #endif
255: 
256: #ifdef __USE_GNU
257: 
258: 
259: 
260: 
261: 
262: 
263: extern int fcloseall (void);
264: #endif
265: 
266: 
267: __BEGIN_NAMESPACE_STD
268: #ifndef __USE_FILE_OFFSET64
269: 
270: 
271: 
272: 
273: extern FILE *fopen (__const char *__restrict __filename,
274:                     __const char *__restrict __modes) __wur;
275: 
276: 
277: 
278: 
279: extern FILE *freopen (__const char *__restrict __filename,
280:                       __const char *__restrict __modes,
281:                       FILE *__restrict __stream) __wur;
282: #else
283: # ifdef __REDIRECT
284: extern FILE *__REDIRECT (fopen, (__const char *__restrict __filename,
285:                                  __const char *__restrict __modes), fopen64)
286:   __wur;
287: extern FILE *__REDIRECT (freopen, (__const char *__restrict __filename,
288:                                    __const char *__restrict __modes,
289:                                    FILE *__restrict __stream), freopen64)
290:   __wur;
291: # else
292: #  define fopen fopen64
293: #  define freopen freopen64
294: # endif
295: #endif
296: __END_NAMESPACE_STD
297: #ifdef __USE_LARGEFILE64
298: extern FILE *fopen64 (__const char *__restrict __filename,
299:                       __const char *__restrict __modes) __wur;
300: extern FILE *freopen64 (__const char *__restrict __filename,
301:                         __const char *__restrict __modes,
302:                         FILE *__restrict __stream) __wur;
303: #endif
304: 
305: #ifdef  __USE_POSIX
306: 
307: extern FILE *fdopen (int __fd, __const char *__modes) __THROW __wur;
308: #endif
309: 
310: #ifdef  __USE_GNU
311: 
312: 
313: extern FILE *fopencookie (void *__restrict __magic_cookie,
314:                           __const char *__restrict __modes,
315:                           _IO_cookie_io_functions_t __io_funcs) __THROW __wur;
316: #endif
317: 
318: #ifdef __USE_XOPEN2K8
319: 
320: extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes)
321:   __THROW __wur;
322: 
323: 
324: 
325: 
326: extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW __wur;
327: #endif
328: 
329: 
330: __BEGIN_NAMESPACE_STD
331: 
332: 
333: extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __THROW;
334: 
335: 
336: 
337: extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
338:                     int __modes, size_t __n) __THROW;
339: __END_NAMESPACE_STD
340: 
341: #ifdef  __USE_BSD
342: 
343: 
344: extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
345:                        size_t __size) __THROW;
346: 
347: 
348: extern void setlinebuf (FILE *__stream) __THROW;
349: #endif
350: 
351: 
352: __BEGIN_NAMESPACE_STD
353: 
354: 
355: 
356: 
357: extern int fprintf (FILE *__restrict __stream,
358:                     __const char *__restrict __format, ...);
359: 
360: 
361: 
362: 
363: extern int printf (__const char *__restrict __format, ...);
364: 
365: extern int sprintf (char *__restrict __s,
366:                     __const char *__restrict __format, ...) __THROWNL;
367: 
368: 
369: 
370: 
371: 
372: extern int vfprintf (FILE *__restrict __s, __const char *__restrict __format,
373:                      _G_va_list __arg);
374: 
375: 
376: 
377: 
378: extern int vprintf (__const char *__restrict __format, _G_va_list __arg);
379: 
380: extern int vsprintf (char *__restrict __s, __const char *__restrict __format,
381:                      _G_va_list __arg) __THROWNL;
382: __END_NAMESPACE_STD
383: 
384: #if defined __USE_BSD || defined __USE_ISOC99 || defined __USE_UNIX98
385: __BEGIN_NAMESPACE_C99
386: 
387: extern int snprintf (char *__restrict __s, size_t __maxlen,
388:                      __const char *__restrict __format, ...)
389:      __THROWNL __attribute__ ((__format__ (__printf__, 3, 4)));
390: 
391: extern int vsnprintf (char *__restrict __s, size_t __maxlen,
392:                       __const char *__restrict __format, _G_va_list __arg)
393:      __THROWNL __attribute__ ((__format__ (__printf__, 3, 0)));
394: __END_NAMESPACE_C99
395: #endif
396: 
397: #ifdef __USE_GNU
398: 
399: 
400: extern int vasprintf (char **__restrict __ptr, __const char *__restrict __f,
401:                       _G_va_list __arg)
402:      __THROWNL __attribute__ ((__format__ (__printf__, 2, 0))) __wur;
403: extern int __asprintf (char **__restrict __ptr,
404:                        __const char *__restrict __fmt, ...)
405:      __THROWNL __attribute__ ((__format__ (__printf__, 2, 3))) __wur;
406: extern int asprintf (char **__restrict __ptr,
407:                      __const char *__restrict __fmt, ...)
408:      __THROWNL __attribute__ ((__format__ (__printf__, 2, 3))) __wur;
409: #endif
410: 
411: #ifdef __USE_XOPEN2K8
412: 
413: 
414: 
415: 
416: 
417: 
418: extern int vdprintf (int __fd, __const char *__restrict __fmt,
419:                      _G_va_list __arg)
420:      __attribute__ ((__format__ (__printf__, 2, 0)));
421: extern int dprintf (int __fd, __const char *__restrict __fmt, ...)
422:      __attribute__ ((__format__ (__printf__, 2, 3)));
423: #endif
424: 
425: 
426: __BEGIN_NAMESPACE_STD
427: 
428: 
429: 
430: 
431: extern int fscanf (FILE *__restrict __stream,
432:                    __const char *__restrict __format, ...) __wur;
433: 
434: 
435: 
436: 
437: extern int scanf (__const char *__restrict __format, ...) __wur;
438: 
439: extern int sscanf (__const char *__restrict __s,
440:                    __const char *__restrict __format, ...) __THROW;
441: 
442: #if defined __USE_ISOC99 && !defined __USE_GNU \
443:     && (!defined __LDBL_COMPAT || !defined __REDIRECT) \
444:     && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
445: # ifdef __REDIRECT
446: 
447: 
448: 
449: extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
450:                                 __const char *__restrict __format, ...),
451:                        __isoc99_fscanf) __wur;
452: extern int __REDIRECT (scanf, (__const char *__restrict __format, ...),
453:                        __isoc99_scanf) __wur;
454: extern int __REDIRECT_NTH (sscanf, (__const char *__restrict __s,
455:                                     __const char *__restrict __format, ...),
456:                            __isoc99_sscanf);
457: # else
458: extern int __isoc99_fscanf (FILE *__restrict __stream,
459:                             __const char *__restrict __format, ...) __wur;
460: extern int __isoc99_scanf (__const char *__restrict __format, ...) __wur;
461: extern int __isoc99_sscanf (__const char *__restrict __s,
462:                             __const char *__restrict __format, ...) __THROW;
463: #  define fscanf __isoc99_fscanf
464: #  define scanf __isoc99_scanf
465: #  define sscanf __isoc99_sscanf
466: # endif
467: #endif
468: 
469: __END_NAMESPACE_STD
470: 
471: #ifdef  __USE_ISOC99
472: __BEGIN_NAMESPACE_C99
473: 
474: 
475: 
476: 
477: extern int vfscanf (FILE *__restrict __s, __const char *__restrict __format,
478:                     _G_va_list __arg)
479:      __attribute__ ((__format__ (__scanf__, 2, 0))) __wur;
480: 
481: 
482: 
483: 
484: 
485: extern int vscanf (__const char *__restrict __format, _G_va_list __arg)
486:      __attribute__ ((__format__ (__scanf__, 1, 0))) __wur;
487: 
488: 
489: extern int vsscanf (__const char *__restrict __s,
490:                     __const char *__restrict __format, _G_va_list __arg)
491:      __THROW __attribute__ ((__format__ (__scanf__, 2, 0)));
492: 
493: # if !defined __USE_GNU \
494:      && (!defined __LDBL_COMPAT || !defined __REDIRECT) \
495:      && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
496: #  ifdef __REDIRECT
497: 
498: 
499: 
500: extern int __REDIRECT (vfscanf,
501:                        (FILE *__restrict __s,
502:                         __const char *__restrict __format, _G_va_list __arg),
503:                        __isoc99_vfscanf)
504:      __attribute__ ((__format__ (__scanf__, 2, 0))) __wur;
505: extern int __REDIRECT (vscanf, (__const char *__restrict __format,
506:                                 _G_va_list __arg), __isoc99_vscanf)
507:      __attribute__ ((__format__ (__scanf__, 1, 0))) __wur;
508: extern int __REDIRECT_NTH (vsscanf,
509:                            (__const char *__restrict __s,
510:                             __const char *__restrict __format,
511:                             _G_va_list __arg), __isoc99_vsscanf)
512:      __attribute__ ((__format__ (__scanf__, 2, 0)));
513: #  else
514: extern int __isoc99_vfscanf (FILE *__restrict __s,
515:                              __const char *__restrict __format,
516:                              _G_va_list __arg) __wur;
517: extern int __isoc99_vscanf (__const char *__restrict __format,
518:                             _G_va_list __arg) __wur;
519: extern int __isoc99_vsscanf (__const char *__restrict __s,
520:                              __const char *__restrict __format,
521:                              _G_va_list __arg) __THROW;
522: #   define vfscanf __isoc99_vfscanf
523: #   define vscanf __isoc99_vscanf
524: #   define vsscanf __isoc99_vsscanf
525: #  endif
526: # endif
527: 
528: __END_NAMESPACE_C99
529: #endif 
530: 
531: 
532: __BEGIN_NAMESPACE_STD
533: 
534: 
535: 
536: 
537: extern int fgetc (FILE *__stream);
538: extern int getc (FILE *__stream);
539: 
540: 
541: 
542: 
543: 
544: extern int getchar (void);
545: __END_NAMESPACE_STD
546: 
547: 
548: 
549: #define getc(_fp) _IO_getc (_fp)
550: 
551: #if defined __USE_POSIX || defined __USE_MISC
552: 
553: 
554: 
555: 
556: extern int getc_unlocked (FILE *__stream);
557: extern int getchar_unlocked (void);
558: #endif 
559: 
560: #ifdef __USE_MISC
561: 
562: 
563: 
564: 
565: 
566: 
567: extern int fgetc_unlocked (FILE *__stream);
568: #endif 
569: 
570: 
571: __BEGIN_NAMESPACE_STD
572: 
573: 
574: 
575: 
576: 
577: 
578: 
579: extern int fputc (int __c, FILE *__stream);
580: extern int putc (int __c, FILE *__stream);
581: 
582: 
583: 
584: 
585: 
586: extern int putchar (int __c);
587: __END_NAMESPACE_STD
588: 
589: 
590: 
591: #define putc(_ch, _fp) _IO_putc (_ch, _fp)
592: 
593: #ifdef __USE_MISC
594: 
595: 
596: 
597: 
598: 
599: 
600: extern int fputc_unlocked (int __c, FILE *__stream);
601: #endif 
602: 
603: #if defined __USE_POSIX || defined __USE_MISC
604: 
605: 
606: 
607: 
608: extern int putc_unlocked (int __c, FILE *__stream);
609: extern int putchar_unlocked (int __c);
610: #endif 
611: 
612: 
613: #if defined __USE_SVID || defined __USE_MISC \
614:     || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
615: 
616: extern int getw (FILE *__stream);
617: 
618: 
619: extern int putw (int __w, FILE *__stream);
620: #endif
621: 
622: 
623: __BEGIN_NAMESPACE_STD
624: 
625: 
626: 
627: 
628: extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
629:      __wur;
630: 
631: 
632: 
633: 
634: 
635: 
636: extern char *gets (char *__s) __wur;
637: __END_NAMESPACE_STD
638: 
639: #ifdef __USE_GNU
640: 
641: 
642: 
643: 
644: 
645: 
646: extern char *fgets_unlocked (char *__restrict __s, int __n,
647:                              FILE *__restrict __stream) __wur;
648: #endif
649: 
650: 
651: #ifdef  __USE_XOPEN2K8
652: 
653: 
654: 
655: 
656: 
657: 
658: 
659: 
660: 
661: 
662: extern _IO_ssize_t __getdelim (char **__restrict __lineptr,
663:                                size_t *__restrict __n, int __delimiter,
664:                                FILE *__restrict __stream) __wur;
665: extern _IO_ssize_t getdelim (char **__restrict __lineptr,
666:                              size_t *__restrict __n, int __delimiter,
667:                              FILE *__restrict __stream) __wur;
668: 
669: 
670: 
671: 
672: 
673: 
674: 
675: extern _IO_ssize_t getline (char **__restrict __lineptr,
676:                             size_t *__restrict __n,
677:                             FILE *__restrict __stream) __wur;
678: #endif
679: 
680: 
681: __BEGIN_NAMESPACE_STD
682: 
683: 
684: 
685: 
686: extern int fputs (__const char *__restrict __s, FILE *__restrict __stream);
687: 
688: 
689: 
690: 
691: 
692: extern int puts (__const char *__s);
693: 
694: 
695: 
696: 
697: 
698: 
699: extern int ungetc (int __c, FILE *__stream);
700: 
701: 
702: 
703: 
704: 
705: 
706: extern size_t fread (void *__restrict __ptr, size_t __size,
707:                      size_t __n, FILE *__restrict __stream) __wur;
708: 
709: 
710: 
711: 
712: extern size_t fwrite (__const void *__restrict __ptr, size_t __size,
713:                       size_t __n, FILE *__restrict __s);
714: __END_NAMESPACE_STD
715: 
716: #ifdef __USE_GNU
717: 
718: 
719: 
720: 
721: 
722: 
723: extern int fputs_unlocked (__const char *__restrict __s,
724:                            FILE *__restrict __stream);
725: #endif
726: 
727: #ifdef __USE_MISC
728: 
729: 
730: 
731: 
732: 
733: 
734: extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
735:                               size_t __n, FILE *__restrict __stream) __wur;
736: extern size_t fwrite_unlocked (__const void *__restrict __ptr, size_t __size,
737:                                size_t __n, FILE *__restrict __stream);
738: #endif
739: 
740: 
741: __BEGIN_NAMESPACE_STD
742: 
743: 
744: 
745: 
746: extern int fseek (FILE *__stream, long int __off, int __whence);
747: 
748: 
749: 
750: 
751: extern long int ftell (FILE *__stream) __wur;
752: 
753: 
754: 
755: 
756: extern void rewind (FILE *__stream);
757: __END_NAMESPACE_STD
758: 
759: 
760: 
761: 
762: 
763: 
764: #if defined __USE_LARGEFILE || defined __USE_XOPEN2K
765: # ifndef __USE_FILE_OFFSET64
766: 
767: 
768: 
769: 
770: extern int fseeko (FILE *__stream, __off_t __off, int __whence);
771: 
772: 
773: 
774: 
775: extern __off_t ftello (FILE *__stream) __wur;
776: # else
777: #  ifdef __REDIRECT
778: extern int __REDIRECT (fseeko,
779:                        (FILE *__stream, __off64_t __off, int __whence),
780:                        fseeko64);
781: extern __off64_t __REDIRECT (ftello, (FILE *__stream), ftello64);
782: #  else
783: #   define fseeko fseeko64
784: #   define ftello ftello64
785: #  endif
786: # endif
787: #endif
788: 
789: __BEGIN_NAMESPACE_STD
790: #ifndef __USE_FILE_OFFSET64
791: 
792: 
793: 
794: 
795: extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
796: 
797: 
798: 
799: 
800: extern int fsetpos (FILE *__stream, __const fpos_t *__pos);
801: #else
802: # ifdef __REDIRECT
803: extern int __REDIRECT (fgetpos, (FILE *__restrict __stream,
804:                                  fpos_t *__restrict __pos), fgetpos64);
805: extern int __REDIRECT (fsetpos,
806:                        (FILE *__stream, __const fpos_t *__pos), fsetpos64);
807: # else
808: #  define fgetpos fgetpos64
809: #  define fsetpos fsetpos64
810: # endif
811: #endif
812: __END_NAMESPACE_STD
813: 
814: #ifdef __USE_LARGEFILE64
815: extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
816: extern __off64_t ftello64 (FILE *__stream) __wur;
817: extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
818: extern int fsetpos64 (FILE *__stream, __const fpos64_t *__pos);
819: #endif
820: 
821: __BEGIN_NAMESPACE_STD
822: 
823: extern void clearerr (FILE *__stream) __THROW;
824: 
825: extern int feof (FILE *__stream) __THROW __wur;
826: 
827: extern int ferror (FILE *__stream) __THROW __wur;
828: __END_NAMESPACE_STD
829: 
830: #ifdef __USE_MISC
831: 
832: extern void clearerr_unlocked (FILE *__stream) __THROW;
833: extern int feof_unlocked (FILE *__stream) __THROW __wur;
834: extern int ferror_unlocked (FILE *__stream) __THROW __wur;
835: #endif
836: 
837: 
838: __BEGIN_NAMESPACE_STD
839: 
840: 
841: 
842: 
843: extern void perror (__const char *__s);
844: __END_NAMESPACE_STD
845: 
846: 
847: 
848: 
849: 
850: #include <bits/sys_errlist.h>
851: 
852: 
853: #ifdef  __USE_POSIX
854: 
855: extern int fileno (FILE *__stream) __THROW __wur;
856: #endif 
857: 
858: #ifdef __USE_MISC
859: 
860: extern int fileno_unlocked (FILE *__stream) __THROW __wur;
861: #endif
862: 
863: 
864: #if (defined __USE_POSIX2 || defined __USE_SVID  || defined __USE_BSD || \
865:      defined __USE_MISC)
866: 
867: 
868: 
869: 
870: extern FILE *popen (__const char *__command, __const char *__modes) __wur;
871: 
872: 
873: 
874: 
875: 
876: extern int pclose (FILE *__stream);
877: #endif
878: 
879: 
880: #ifdef  __USE_POSIX
881: 
882: extern char *ctermid (char *__s) __THROW;
883: #endif 
884: 
885: 
886: #ifdef __USE_XOPEN
887: 
888: extern char *cuserid (char *__s);
889: #endif 
890: 
891: 
892: #ifdef  __USE_GNU
893: struct obstack;                 
894: 
895: 
896: extern int obstack_printf (struct obstack *__restrict __obstack,
897:                            __const char *__restrict __format, ...)
898:      __THROWNL __attribute__ ((__format__ (__printf__, 2, 3)));
899: extern int obstack_vprintf (struct obstack *__restrict __obstack,
900:                             __const char *__restrict __format,
901:                             _G_va_list __args)
902:      __THROWNL __attribute__ ((__format__ (__printf__, 2, 0)));
903: #endif 
904: 
905: 
906: #if defined __USE_POSIX || defined __USE_MISC
907: 
908: 
909: 
910: extern void flockfile (FILE *__stream) __THROW;
911: 
912: 
913: 
914: extern int ftrylockfile (FILE *__stream) __THROW __wur;
915: 
916: 
917: extern void funlockfile (FILE *__stream) __THROW;
918: #endif 
919: 
920: #if defined __USE_XOPEN && !defined __USE_XOPEN2K && !defined __USE_GNU
921: 
922: 
923: 
924: # define __need_getopt
925: # include <getopt.h>
926: #endif  
927: 
928: 
929: 
930: #ifdef __USE_EXTERN_INLINES
931: # include <bits/stdio.h>
932: #endif
933: #if __USE_FORTIFY_LEVEL > 0 && defined __extern_always_inline
934: # include <bits/stdio2.h>
935: #endif
936: #ifdef __LDBL_COMPAT
937: # include <bits/stdio-ldbl.h>
938: #endif
939: 
940: __END_DECLS
941: 
942: #endif 
943: 
944: #endif 
945: 
      
      
      
      
   
      
      
         
            
            © Andrew Scott 2006 -
            2025, 
            All Rights Reserved