Blame libio/stdio.h

Packit 6c4009
/* Define ISO C stdio on top of C++ iostreams.
Packit 6c4009
   Copyright (C) 1991-2018 Free Software Foundation, Inc.
Packit 6c4009
   This file is part of the GNU C Library.
Packit 6c4009
Packit 6c4009
   The GNU C Library is free software; you can redistribute it and/or
Packit 6c4009
   modify it under the terms of the GNU Lesser General Public
Packit 6c4009
   License as published by the Free Software Foundation; either
Packit 6c4009
   version 2.1 of the License, or (at your option) any later version.
Packit 6c4009
Packit 6c4009
   The GNU C Library is distributed in the hope that it will be useful,
Packit 6c4009
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 6c4009
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 6c4009
   Lesser General Public License for more details.
Packit 6c4009
Packit 6c4009
   You should have received a copy of the GNU Lesser General Public
Packit 6c4009
   License along with the GNU C Library; if not, see
Packit 6c4009
   <http://www.gnu.org/licenses/>.  */
Packit 6c4009
Packit 6c4009
/*
Packit 6c4009
 *	ISO C99 Standard: 7.19 Input/output	<stdio.h>
Packit 6c4009
 */
Packit 6c4009
Packit 6c4009
#ifndef _STDIO_H
Packit 6c4009
#define _STDIO_H	1
Packit 6c4009
Packit 6c4009
#define __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION
Packit 6c4009
#include <bits/libc-header-start.h>
Packit 6c4009
Packit 6c4009
__BEGIN_DECLS
Packit 6c4009
Packit 6c4009
#define __need_size_t
Packit 6c4009
#define __need_NULL
Packit 6c4009
#include <stddef.h>
Packit 6c4009
Packit 6c4009
#define __need___va_list
Packit 6c4009
#include <stdarg.h>
Packit 6c4009
Packit 6c4009
#include <bits/types.h>
Packit 6c4009
#include <bits/types/__fpos_t.h>
Packit 6c4009
#include <bits/types/__fpos64_t.h>
Packit 6c4009
#include <bits/types/__FILE.h>
Packit 6c4009
#include <bits/types/FILE.h>
Packit 6c4009
#include <bits/types/struct_FILE.h>
Packit 6c4009
Packit 6c4009
#ifdef __USE_GNU
Packit 6c4009
# include <bits/types/cookie_io_functions_t.h>
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#if defined __USE_XOPEN || defined __USE_XOPEN2K8
Packit 6c4009
# ifdef __GNUC__
Packit 6c4009
#  ifndef _VA_LIST_DEFINED
Packit 6c4009
typedef __gnuc_va_list va_list;
Packit 6c4009
#   define _VA_LIST_DEFINED
Packit 6c4009
#  endif
Packit 6c4009
# else
Packit 6c4009
#  include <stdarg.h>
Packit 6c4009
# endif
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#if defined __USE_UNIX98 || defined __USE_XOPEN2K
Packit 6c4009
# ifndef __off_t_defined
Packit 6c4009
# ifndef __USE_FILE_OFFSET64
Packit 6c4009
typedef __off_t off_t;
Packit 6c4009
# else
Packit 6c4009
typedef __off64_t off_t;
Packit 6c4009
# endif
Packit 6c4009
# define __off_t_defined
Packit 6c4009
# endif
Packit 6c4009
# if defined __USE_LARGEFILE64 && !defined __off64_t_defined
Packit 6c4009
typedef __off64_t off64_t;
Packit 6c4009
# define __off64_t_defined
Packit 6c4009
# endif
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifdef __USE_XOPEN2K8
Packit 6c4009
# ifndef __ssize_t_defined
Packit 6c4009
typedef __ssize_t ssize_t;
Packit 6c4009
# define __ssize_t_defined
Packit 6c4009
# endif
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
/* The type of the second argument to `fgetpos' and `fsetpos'.  */
Packit 6c4009
#ifndef __USE_FILE_OFFSET64
Packit 6c4009
typedef __fpos_t fpos_t;
Packit 6c4009
#else
Packit 6c4009
typedef __fpos64_t fpos_t;
Packit 6c4009
#endif
Packit 6c4009
#ifdef __USE_LARGEFILE64
Packit 6c4009
typedef __fpos64_t fpos64_t;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
/* The possibilities for the third argument to `setvbuf'.  */
Packit 6c4009
#define _IOFBF 0		/* Fully buffered.  */
Packit 6c4009
#define _IOLBF 1		/* Line buffered.  */
Packit 6c4009
#define _IONBF 2		/* No buffering.  */
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Default buffer size.  */
Packit 6c4009
#define BUFSIZ 8192
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* The value returned by fgetc and similar functions to indicate the
Packit 6c4009
   end of the file.  */
Packit 6c4009
#define EOF (-1)
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* The possibilities for the third argument to `fseek'.
Packit 6c4009
   These values should not be changed.  */
Packit 6c4009
#define SEEK_SET	0	/* Seek from beginning of file.  */
Packit 6c4009
#define SEEK_CUR	1	/* Seek from current position.  */
Packit 6c4009
#define SEEK_END	2	/* Seek from end of file.  */
Packit 6c4009
#ifdef __USE_GNU
Packit 6c4009
# define SEEK_DATA	3	/* Seek to next data.  */
Packit 6c4009
# define SEEK_HOLE	4	/* Seek to next hole.  */
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
#if defined __USE_MISC || defined __USE_XOPEN
Packit 6c4009
/* Default path prefix for `tempnam' and `tmpnam'.  */
Packit 6c4009
# define P_tmpdir	"/tmp"
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Get the values:
Packit 6c4009
   L_tmpnam	How long an array of chars must be to be passed to `tmpnam'.
Packit 6c4009
   TMP_MAX	The minimum number of unique filenames generated by tmpnam
Packit 6c4009
		(and tempnam when it uses tmpnam's name space),
Packit 6c4009
		or tempnam (the two are separate).
Packit 6c4009
   L_ctermid	How long an array to pass to `ctermid'.
Packit 6c4009
   L_cuserid	How long an array to pass to `cuserid'.
Packit 6c4009
   FOPEN_MAX	Minimum number of files that can be open at once.
Packit 6c4009
   FILENAME_MAX	Maximum length of a filename.  */
Packit 6c4009
#include <bits/stdio_lim.h>
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Standard streams.  */
Packit 6c4009
extern FILE *stdin;		/* Standard input stream.  */
Packit 6c4009
extern FILE *stdout;		/* Standard output stream.  */
Packit 6c4009
extern FILE *stderr;		/* Standard error output stream.  */
Packit 6c4009
/* C89/C99 say they're macros.  Make them happy.  */
Packit 6c4009
#define stdin stdin
Packit 6c4009
#define stdout stdout
Packit 6c4009
#define stderr stderr
Packit 6c4009
Packit 6c4009
/* Remove file FILENAME.  */
Packit 6c4009
extern int remove (const char *__filename) __THROW;
Packit 6c4009
/* Rename file OLD to NEW.  */
Packit 6c4009
extern int rename (const char *__old, const char *__new) __THROW;
Packit 6c4009
Packit 6c4009
#ifdef __USE_ATFILE
Packit 6c4009
/* Rename file OLD relative to OLDFD to NEW relative to NEWFD.  */
Packit 6c4009
extern int renameat (int __oldfd, const char *__old, int __newfd,
Packit 6c4009
		     const char *__new) __THROW;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifdef __USE_GNU
Packit 6c4009
/* Flags for renameat2.  */
Packit 6c4009
# define RENAME_NOREPLACE (1 << 0)
Packit 6c4009
# define RENAME_EXCHANGE (1 << 1)
Packit 6c4009
# define RENAME_WHITEOUT (1 << 2)
Packit 6c4009
Packit 6c4009
/* Rename file OLD relative to OLDFD to NEW relative to NEWFD, with
Packit 6c4009
   additional flags.  */
Packit 6c4009
extern int renameat2 (int __oldfd, const char *__old, int __newfd,
Packit 6c4009
		      const char *__new, unsigned int __flags) __THROW;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
/* Create a temporary file and open it read/write.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
#ifndef __USE_FILE_OFFSET64
Packit 6c4009
extern FILE *tmpfile (void) __wur;
Packit 6c4009
#else
Packit 6c4009
# ifdef __REDIRECT
Packit 6c4009
extern FILE *__REDIRECT (tmpfile, (void), tmpfile64) __wur;
Packit 6c4009
# else
Packit 6c4009
#  define tmpfile tmpfile64
Packit 6c4009
# endif
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifdef __USE_LARGEFILE64
Packit 6c4009
extern FILE *tmpfile64 (void) __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
/* Generate a temporary filename.  */
Packit 6c4009
extern char *tmpnam (char *__s) __THROW __wur;
Packit 6c4009
Packit 6c4009
#ifdef __USE_MISC
Packit 6c4009
/* This is the reentrant variant of `tmpnam'.  The only difference is
Packit 6c4009
   that it does not allow S to be NULL.  */
Packit 6c4009
extern char *tmpnam_r (char *__s) __THROW __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
#if defined __USE_MISC || defined __USE_XOPEN
Packit 6c4009
/* Generate a unique temporary filename using up to five characters of PFX
Packit 6c4009
   if it is not NULL.  The directory to put this file in is searched for
Packit 6c4009
   as follows: First the environment variable "TMPDIR" is checked.
Packit 6c4009
   If it contains the name of a writable directory, that directory is used.
Packit 6c4009
   If not and if DIR is not NULL, that value is checked.  If that fails,
Packit 6c4009
   P_tmpdir is tried and finally "/tmp".  The storage for the filename
Packit 6c4009
   is allocated by `malloc'.  */
Packit 6c4009
extern char *tempnam (const char *__dir, const char *__pfx)
Packit 6c4009
     __THROW __attribute_malloc__ __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Close STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int fclose (FILE *__stream);
Packit 6c4009
/* Flush STREAM, or all streams if STREAM is NULL.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int fflush (FILE *__stream);
Packit 6c4009
Packit 6c4009
#ifdef __USE_MISC
Packit 6c4009
/* Faster versions when locking is not required.
Packit 6c4009
Packit 6c4009
   This function is not part of POSIX and therefore no official
Packit 6c4009
   cancellation point.  But due to similarity with an POSIX interface
Packit 6c4009
   or due to the implementation it is a cancellation point and
Packit 6c4009
   therefore not marked with __THROW.  */
Packit 6c4009
extern int fflush_unlocked (FILE *__stream);
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifdef __USE_GNU
Packit 6c4009
/* Close all streams.
Packit 6c4009
Packit 6c4009
   This function is not part of POSIX and therefore no official
Packit 6c4009
   cancellation point.  But due to similarity with an POSIX interface
Packit 6c4009
   or due to the implementation it is a cancellation point and
Packit 6c4009
   therefore not marked with __THROW.  */
Packit 6c4009
extern int fcloseall (void);
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
#ifndef __USE_FILE_OFFSET64
Packit 6c4009
/* Open a file and create a new stream for it.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern FILE *fopen (const char *__restrict __filename,
Packit 6c4009
		    const char *__restrict __modes) __wur;
Packit 6c4009
/* Open a file, replacing an existing stream with it.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern FILE *freopen (const char *__restrict __filename,
Packit 6c4009
		      const char *__restrict __modes,
Packit 6c4009
		      FILE *__restrict __stream) __wur;
Packit 6c4009
#else
Packit 6c4009
# ifdef __REDIRECT
Packit 6c4009
extern FILE *__REDIRECT (fopen, (const char *__restrict __filename,
Packit 6c4009
				 const char *__restrict __modes), fopen64)
Packit 6c4009
  __wur;
Packit 6c4009
extern FILE *__REDIRECT (freopen, (const char *__restrict __filename,
Packit 6c4009
				   const char *__restrict __modes,
Packit 6c4009
				   FILE *__restrict __stream), freopen64)
Packit 6c4009
  __wur;
Packit 6c4009
# else
Packit 6c4009
#  define fopen fopen64
Packit 6c4009
#  define freopen freopen64
Packit 6c4009
# endif
Packit 6c4009
#endif
Packit 6c4009
#ifdef __USE_LARGEFILE64
Packit 6c4009
extern FILE *fopen64 (const char *__restrict __filename,
Packit 6c4009
		      const char *__restrict __modes) __wur;
Packit 6c4009
extern FILE *freopen64 (const char *__restrict __filename,
Packit 6c4009
			const char *__restrict __modes,
Packit 6c4009
			FILE *__restrict __stream) __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifdef	__USE_POSIX
Packit 6c4009
/* Create a new stream that refers to an existing system file descriptor.  */
Packit 6c4009
extern FILE *fdopen (int __fd, const char *__modes) __THROW __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifdef	__USE_GNU
Packit 6c4009
/* Create a new stream that refers to the given magic cookie,
Packit 6c4009
   and uses the given functions for input and output.  */
Packit 6c4009
extern FILE *fopencookie (void *__restrict __magic_cookie,
Packit 6c4009
			  const char *__restrict __modes,
Packit 6c4009
			  cookie_io_functions_t __io_funcs) __THROW __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2)
Packit 6c4009
/* Create a new stream that refers to a memory buffer.  */
Packit 6c4009
extern FILE *fmemopen (void *__s, size_t __len, const char *__modes)
Packit 6c4009
  __THROW __wur;
Packit 6c4009
Packit 6c4009
/* Open a stream that writes into a malloc'd buffer that is expanded as
Packit 6c4009
   necessary.  *BUFLOC and *SIZELOC are updated with the buffer's location
Packit 6c4009
   and the number of characters written on fflush or fclose.  */
Packit 6c4009
extern FILE *open_memstream (char **__bufloc, size_t *__sizeloc) __THROW __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* If BUF is NULL, make STREAM unbuffered.
Packit 6c4009
   Else make it use buffer BUF, of size BUFSIZ.  */
Packit 6c4009
extern void setbuf (FILE *__restrict __stream, char *__restrict __buf) __THROW;
Packit 6c4009
/* Make STREAM use buffering mode MODE.
Packit 6c4009
   If BUF is not NULL, use N bytes of it for buffering;
Packit 6c4009
   else allocate an internal buffer N bytes long.  */
Packit 6c4009
extern int setvbuf (FILE *__restrict __stream, char *__restrict __buf,
Packit 6c4009
		    int __modes, size_t __n) __THROW;
Packit 6c4009
Packit 6c4009
#ifdef	__USE_MISC
Packit 6c4009
/* If BUF is NULL, make STREAM unbuffered.
Packit 6c4009
   Else make it use SIZE bytes of BUF for buffering.  */
Packit 6c4009
extern void setbuffer (FILE *__restrict __stream, char *__restrict __buf,
Packit 6c4009
		       size_t __size) __THROW;
Packit 6c4009
Packit 6c4009
/* Make STREAM line-buffered.  */
Packit 6c4009
extern void setlinebuf (FILE *__stream) __THROW;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Write formatted output to STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int fprintf (FILE *__restrict __stream,
Packit 6c4009
		    const char *__restrict __format, ...);
Packit 6c4009
/* Write formatted output to stdout.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int printf (const char *__restrict __format, ...);
Packit 6c4009
/* Write formatted output to S.  */
Packit 6c4009
extern int sprintf (char *__restrict __s,
Packit 6c4009
		    const char *__restrict __format, ...) __THROWNL;
Packit 6c4009
Packit 6c4009
/* Write formatted output to S from argument list ARG.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int vfprintf (FILE *__restrict __s, const char *__restrict __format,
Packit 6c4009
		     __gnuc_va_list __arg);
Packit 6c4009
/* Write formatted output to stdout from argument list ARG.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int vprintf (const char *__restrict __format, __gnuc_va_list __arg);
Packit 6c4009
/* Write formatted output to S from argument list ARG.  */
Packit 6c4009
extern int vsprintf (char *__restrict __s, const char *__restrict __format,
Packit 6c4009
		     __gnuc_va_list __arg) __THROWNL;
Packit 6c4009
Packit 6c4009
#if defined __USE_ISOC99 || defined __USE_UNIX98
Packit 6c4009
/* Maximum chars of output to write in MAXLEN.  */
Packit 6c4009
extern int snprintf (char *__restrict __s, size_t __maxlen,
Packit 6c4009
		     const char *__restrict __format, ...)
Packit 6c4009
     __THROWNL __attribute__ ((__format__ (__printf__, 3, 4)));
Packit 6c4009
Packit 6c4009
extern int vsnprintf (char *__restrict __s, size_t __maxlen,
Packit 6c4009
		      const char *__restrict __format, __gnuc_va_list __arg)
Packit 6c4009
     __THROWNL __attribute__ ((__format__ (__printf__, 3, 0)));
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#if __GLIBC_USE (LIB_EXT2)
Packit 6c4009
/* Write formatted output to a string dynamically allocated with `malloc'.
Packit 6c4009
   Store the address of the string in *PTR.  */
Packit 6c4009
extern int vasprintf (char **__restrict __ptr, const char *__restrict __f,
Packit 6c4009
		      __gnuc_va_list __arg)
Packit 6c4009
     __THROWNL __attribute__ ((__format__ (__printf__, 2, 0))) __wur;
Packit 6c4009
extern int __asprintf (char **__restrict __ptr,
Packit 6c4009
		       const char *__restrict __fmt, ...)
Packit 6c4009
     __THROWNL __attribute__ ((__format__ (__printf__, 2, 3))) __wur;
Packit 6c4009
extern int asprintf (char **__restrict __ptr,
Packit 6c4009
		     const char *__restrict __fmt, ...)
Packit 6c4009
     __THROWNL __attribute__ ((__format__ (__printf__, 2, 3))) __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifdef __USE_XOPEN2K8
Packit 6c4009
/* Write formatted output to a file descriptor.  */
Packit 6c4009
extern int vdprintf (int __fd, const char *__restrict __fmt,
Packit 6c4009
		     __gnuc_va_list __arg)
Packit 6c4009
     __attribute__ ((__format__ (__printf__, 2, 0)));
Packit 6c4009
extern int dprintf (int __fd, const char *__restrict __fmt, ...)
Packit 6c4009
     __attribute__ ((__format__ (__printf__, 2, 3)));
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Read formatted input from STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int fscanf (FILE *__restrict __stream,
Packit 6c4009
		   const char *__restrict __format, ...) __wur;
Packit 6c4009
/* Read formatted input from stdin.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int scanf (const char *__restrict __format, ...) __wur;
Packit 6c4009
/* Read formatted input from S.  */
Packit 6c4009
extern int sscanf (const char *__restrict __s,
Packit 6c4009
		   const char *__restrict __format, ...) __THROW;
Packit 6c4009
Packit 6c4009
#if defined __USE_ISOC99 && !defined __USE_GNU \
Packit 6c4009
    && (!defined __LDBL_COMPAT || !defined __REDIRECT) \
Packit 6c4009
    && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
Packit 6c4009
# ifdef __REDIRECT
Packit 6c4009
/* For strict ISO C99 or POSIX compliance disallow %as, %aS and %a[
Packit 6c4009
   GNU extension which conflicts with valid %a followed by letter
Packit 6c4009
   s, S or [.  */
Packit 6c4009
extern int __REDIRECT (fscanf, (FILE *__restrict __stream,
Packit 6c4009
				const char *__restrict __format, ...),
Packit 6c4009
		       __isoc99_fscanf) __wur;
Packit 6c4009
extern int __REDIRECT (scanf, (const char *__restrict __format, ...),
Packit 6c4009
		       __isoc99_scanf) __wur;
Packit 6c4009
extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s,
Packit 6c4009
				    const char *__restrict __format, ...),
Packit 6c4009
			   __isoc99_sscanf);
Packit 6c4009
# else
Packit 6c4009
extern int __isoc99_fscanf (FILE *__restrict __stream,
Packit 6c4009
			    const char *__restrict __format, ...) __wur;
Packit 6c4009
extern int __isoc99_scanf (const char *__restrict __format, ...) __wur;
Packit 6c4009
extern int __isoc99_sscanf (const char *__restrict __s,
Packit 6c4009
			    const char *__restrict __format, ...) __THROW;
Packit 6c4009
#  define fscanf __isoc99_fscanf
Packit 6c4009
#  define scanf __isoc99_scanf
Packit 6c4009
#  define sscanf __isoc99_sscanf
Packit 6c4009
# endif
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifdef	__USE_ISOC99
Packit 6c4009
/* Read formatted input from S into argument list ARG.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int vfscanf (FILE *__restrict __s, const char *__restrict __format,
Packit 6c4009
		    __gnuc_va_list __arg)
Packit 6c4009
     __attribute__ ((__format__ (__scanf__, 2, 0))) __wur;
Packit 6c4009
Packit 6c4009
/* Read formatted input from stdin into argument list ARG.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int vscanf (const char *__restrict __format, __gnuc_va_list __arg)
Packit 6c4009
     __attribute__ ((__format__ (__scanf__, 1, 0))) __wur;
Packit 6c4009
Packit 6c4009
/* Read formatted input from S into argument list ARG.  */
Packit 6c4009
extern int vsscanf (const char *__restrict __s,
Packit 6c4009
		    const char *__restrict __format, __gnuc_va_list __arg)
Packit 6c4009
     __THROW __attribute__ ((__format__ (__scanf__, 2, 0)));
Packit 6c4009
Packit 6c4009
# if !defined __USE_GNU \
Packit 6c4009
     && (!defined __LDBL_COMPAT || !defined __REDIRECT) \
Packit 6c4009
     && (defined __STRICT_ANSI__ || defined __USE_XOPEN2K)
Packit 6c4009
#  ifdef __REDIRECT
Packit 6c4009
/* For strict ISO C99 or POSIX compliance disallow %as, %aS and %a[
Packit 6c4009
   GNU extension which conflicts with valid %a followed by letter
Packit 6c4009
   s, S or [.  */
Packit 6c4009
extern int __REDIRECT (vfscanf,
Packit 6c4009
		       (FILE *__restrict __s,
Packit 6c4009
			const char *__restrict __format, __gnuc_va_list __arg),
Packit 6c4009
		       __isoc99_vfscanf)
Packit 6c4009
     __attribute__ ((__format__ (__scanf__, 2, 0))) __wur;
Packit 6c4009
extern int __REDIRECT (vscanf, (const char *__restrict __format,
Packit 6c4009
				__gnuc_va_list __arg), __isoc99_vscanf)
Packit 6c4009
     __attribute__ ((__format__ (__scanf__, 1, 0))) __wur;
Packit 6c4009
extern int __REDIRECT_NTH (vsscanf,
Packit 6c4009
			   (const char *__restrict __s,
Packit 6c4009
			    const char *__restrict __format,
Packit 6c4009
			    __gnuc_va_list __arg), __isoc99_vsscanf)
Packit 6c4009
     __attribute__ ((__format__ (__scanf__, 2, 0)));
Packit 6c4009
#  else
Packit 6c4009
extern int __isoc99_vfscanf (FILE *__restrict __s,
Packit 6c4009
			     const char *__restrict __format,
Packit 6c4009
			     __gnuc_va_list __arg) __wur;
Packit 6c4009
extern int __isoc99_vscanf (const char *__restrict __format,
Packit 6c4009
			    __gnuc_va_list __arg) __wur;
Packit 6c4009
extern int __isoc99_vsscanf (const char *__restrict __s,
Packit 6c4009
			     const char *__restrict __format,
Packit 6c4009
			     __gnuc_va_list __arg) __THROW;
Packit 6c4009
#   define vfscanf __isoc99_vfscanf
Packit 6c4009
#   define vscanf __isoc99_vscanf
Packit 6c4009
#   define vsscanf __isoc99_vsscanf
Packit 6c4009
#  endif
Packit 6c4009
# endif
Packit 6c4009
#endif /* Use ISO C9x.  */
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Read a character from STREAM.
Packit 6c4009
Packit 6c4009
   These functions are possible cancellation points and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int fgetc (FILE *__stream);
Packit 6c4009
extern int getc (FILE *__stream);
Packit 6c4009
Packit 6c4009
/* Read a character from stdin.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int getchar (void);
Packit 6c4009
Packit 6c4009
#ifdef __USE_POSIX199506
Packit 6c4009
/* These are defined in POSIX.1:1996.
Packit 6c4009
Packit 6c4009
   These functions are possible cancellation points and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int getc_unlocked (FILE *__stream);
Packit 6c4009
extern int getchar_unlocked (void);
Packit 6c4009
#endif /* Use POSIX.  */
Packit 6c4009
Packit 6c4009
#ifdef __USE_MISC
Packit 6c4009
/* Faster version when locking is not necessary.
Packit 6c4009
Packit 6c4009
   This function is not part of POSIX and therefore no official
Packit 6c4009
   cancellation point.  But due to similarity with an POSIX interface
Packit 6c4009
   or due to the implementation it is a cancellation point and
Packit 6c4009
   therefore not marked with __THROW.  */
Packit 6c4009
extern int fgetc_unlocked (FILE *__stream);
Packit 6c4009
#endif /* Use MISC.  */
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Write a character to STREAM.
Packit 6c4009
Packit 6c4009
   These functions are possible cancellation points and therefore not
Packit 6c4009
   marked with __THROW.
Packit 6c4009
Packit 6c4009
   These functions is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int fputc (int __c, FILE *__stream);
Packit 6c4009
extern int putc (int __c, FILE *__stream);
Packit 6c4009
Packit 6c4009
/* Write a character to stdout.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int putchar (int __c);
Packit 6c4009
Packit 6c4009
#ifdef __USE_MISC
Packit 6c4009
/* Faster version when locking is not necessary.
Packit 6c4009
Packit 6c4009
   This function is not part of POSIX and therefore no official
Packit 6c4009
   cancellation point.  But due to similarity with an POSIX interface
Packit 6c4009
   or due to the implementation it is a cancellation point and
Packit 6c4009
   therefore not marked with __THROW.  */
Packit 6c4009
extern int fputc_unlocked (int __c, FILE *__stream);
Packit 6c4009
#endif /* Use MISC.  */
Packit 6c4009
Packit 6c4009
#ifdef __USE_POSIX199506
Packit 6c4009
/* These are defined in POSIX.1:1996.
Packit 6c4009
Packit 6c4009
   These functions are possible cancellation points and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int putc_unlocked (int __c, FILE *__stream);
Packit 6c4009
extern int putchar_unlocked (int __c);
Packit 6c4009
#endif /* Use POSIX.  */
Packit 6c4009
Packit 6c4009
Packit 6c4009
#if defined __USE_MISC \
Packit 6c4009
    || (defined __USE_XOPEN && !defined __USE_XOPEN2K)
Packit 6c4009
/* Get a word (int) from STREAM.  */
Packit 6c4009
extern int getw (FILE *__stream);
Packit 6c4009
Packit 6c4009
/* Write a word (int) to STREAM.  */
Packit 6c4009
extern int putw (int __w, FILE *__stream);
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Get a newline-terminated string of finite length from STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern char *fgets (char *__restrict __s, int __n, FILE *__restrict __stream)
Packit 6c4009
     __wur;
Packit 6c4009
Packit 6c4009
#if __GLIBC_USE (DEPRECATED_GETS)
Packit 6c4009
/* Get a newline-terminated string from stdin, removing the newline.
Packit 6c4009
Packit 6c4009
   This function is impossible to use safely.  It has been officially
Packit 6c4009
   removed from ISO C11 and ISO C++14, and we have also removed it
Packit 6c4009
   from the _GNU_SOURCE feature list.  It remains available when
Packit 6c4009
   explicitly using an old ISO C, Unix, or POSIX standard.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern char *gets (char *__s) __wur __attribute_deprecated__;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifdef __USE_GNU
Packit 6c4009
/* This function does the same as `fgets' but does not lock the stream.
Packit 6c4009
Packit 6c4009
   This function is not part of POSIX and therefore no official
Packit 6c4009
   cancellation point.  But due to similarity with an POSIX interface
Packit 6c4009
   or due to the implementation it is a cancellation point and
Packit 6c4009
   therefore not marked with __THROW.  */
Packit 6c4009
extern char *fgets_unlocked (char *__restrict __s, int __n,
Packit 6c4009
			     FILE *__restrict __stream) __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
#if defined __USE_XOPEN2K8 || __GLIBC_USE (LIB_EXT2)
Packit 6c4009
/* Read up to (and including) a DELIMITER from STREAM into *LINEPTR
Packit 6c4009
   (and null-terminate it). *LINEPTR is a pointer returned from malloc (or
Packit 6c4009
   NULL), pointing to *N characters of space.  It is realloc'd as
Packit 6c4009
   necessary.  Returns the number of characters read (not including the
Packit 6c4009
   null terminator), or -1 on error or EOF.
Packit 6c4009
Packit 6c4009
   These functions are not part of POSIX and therefore no official
Packit 6c4009
   cancellation point.  But due to similarity with an POSIX interface
Packit 6c4009
   or due to the implementation they are cancellation points and
Packit 6c4009
   therefore not marked with __THROW.  */
Packit 6c4009
extern __ssize_t __getdelim (char **__restrict __lineptr,
Packit 6c4009
                             size_t *__restrict __n, int __delimiter,
Packit 6c4009
                             FILE *__restrict __stream) __wur;
Packit 6c4009
extern __ssize_t getdelim (char **__restrict __lineptr,
Packit 6c4009
                           size_t *__restrict __n, int __delimiter,
Packit 6c4009
                           FILE *__restrict __stream) __wur;
Packit 6c4009
Packit 6c4009
/* Like `getdelim', but reads up to a newline.
Packit 6c4009
Packit 6c4009
   This function is not part of POSIX and therefore no official
Packit 6c4009
   cancellation point.  But due to similarity with an POSIX interface
Packit 6c4009
   or due to the implementation it is a cancellation point and
Packit 6c4009
   therefore not marked with __THROW.  */
Packit 6c4009
extern __ssize_t getline (char **__restrict __lineptr,
Packit 6c4009
                          size_t *__restrict __n,
Packit 6c4009
                          FILE *__restrict __stream) __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Write a string to STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int fputs (const char *__restrict __s, FILE *__restrict __stream);
Packit 6c4009
Packit 6c4009
/* Write a string, followed by a newline, to stdout.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int puts (const char *__s);
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Push a character back onto the input buffer of STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int ungetc (int __c, FILE *__stream);
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Read chunks of generic data from STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern size_t fread (void *__restrict __ptr, size_t __size,
Packit 6c4009
		     size_t __n, FILE *__restrict __stream) __wur;
Packit 6c4009
/* Write chunks of generic data to STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern size_t fwrite (const void *__restrict __ptr, size_t __size,
Packit 6c4009
		      size_t __n, FILE *__restrict __s);
Packit 6c4009
Packit 6c4009
#ifdef __USE_GNU
Packit 6c4009
/* This function does the same as `fputs' but does not lock the stream.
Packit 6c4009
Packit 6c4009
   This function is not part of POSIX and therefore no official
Packit 6c4009
   cancellation point.  But due to similarity with an POSIX interface
Packit 6c4009
   or due to the implementation it is a cancellation point and
Packit 6c4009
   therefore not marked with __THROW.  */
Packit 6c4009
extern int fputs_unlocked (const char *__restrict __s,
Packit 6c4009
			   FILE *__restrict __stream);
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifdef __USE_MISC
Packit 6c4009
/* Faster versions when locking is not necessary.
Packit 6c4009
Packit 6c4009
   These functions are not part of POSIX and therefore no official
Packit 6c4009
   cancellation point.  But due to similarity with an POSIX interface
Packit 6c4009
   or due to the implementation they are cancellation points and
Packit 6c4009
   therefore not marked with __THROW.  */
Packit 6c4009
extern size_t fread_unlocked (void *__restrict __ptr, size_t __size,
Packit 6c4009
			      size_t __n, FILE *__restrict __stream) __wur;
Packit 6c4009
extern size_t fwrite_unlocked (const void *__restrict __ptr, size_t __size,
Packit 6c4009
			       size_t __n, FILE *__restrict __stream);
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Seek to a certain position on STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int fseek (FILE *__stream, long int __off, int __whence);
Packit 6c4009
/* Return the current position of STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern long int ftell (FILE *__stream) __wur;
Packit 6c4009
/* Rewind to the beginning of STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern void rewind (FILE *__stream);
Packit 6c4009
Packit 6c4009
/* The Single Unix Specification, Version 2, specifies an alternative,
Packit 6c4009
   more adequate interface for the two functions above which deal with
Packit 6c4009
   file offset.  `long int' is not the right type.  These definitions
Packit 6c4009
   are originally defined in the Large File Support API.  */
Packit 6c4009
Packit 6c4009
#if defined __USE_LARGEFILE || defined __USE_XOPEN2K
Packit 6c4009
# ifndef __USE_FILE_OFFSET64
Packit 6c4009
/* Seek to a certain position on STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int fseeko (FILE *__stream, __off_t __off, int __whence);
Packit 6c4009
/* Return the current position of STREAM.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern __off_t ftello (FILE *__stream) __wur;
Packit 6c4009
# else
Packit 6c4009
#  ifdef __REDIRECT
Packit 6c4009
extern int __REDIRECT (fseeko,
Packit 6c4009
		       (FILE *__stream, __off64_t __off, int __whence),
Packit 6c4009
		       fseeko64);
Packit 6c4009
extern __off64_t __REDIRECT (ftello, (FILE *__stream), ftello64);
Packit 6c4009
#  else
Packit 6c4009
#   define fseeko fseeko64
Packit 6c4009
#   define ftello ftello64
Packit 6c4009
#  endif
Packit 6c4009
# endif
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifndef __USE_FILE_OFFSET64
Packit 6c4009
/* Get STREAM's position.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int fgetpos (FILE *__restrict __stream, fpos_t *__restrict __pos);
Packit 6c4009
/* Set STREAM's position.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int fsetpos (FILE *__stream, const fpos_t *__pos);
Packit 6c4009
#else
Packit 6c4009
# ifdef __REDIRECT
Packit 6c4009
extern int __REDIRECT (fgetpos, (FILE *__restrict __stream,
Packit 6c4009
				 fpos_t *__restrict __pos), fgetpos64);
Packit 6c4009
extern int __REDIRECT (fsetpos,
Packit 6c4009
		       (FILE *__stream, const fpos_t *__pos), fsetpos64);
Packit 6c4009
# else
Packit 6c4009
#  define fgetpos fgetpos64
Packit 6c4009
#  define fsetpos fsetpos64
Packit 6c4009
# endif
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#ifdef __USE_LARGEFILE64
Packit 6c4009
extern int fseeko64 (FILE *__stream, __off64_t __off, int __whence);
Packit 6c4009
extern __off64_t ftello64 (FILE *__stream) __wur;
Packit 6c4009
extern int fgetpos64 (FILE *__restrict __stream, fpos64_t *__restrict __pos);
Packit 6c4009
extern int fsetpos64 (FILE *__stream, const fpos64_t *__pos);
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
/* Clear the error and EOF indicators for STREAM.  */
Packit 6c4009
extern void clearerr (FILE *__stream) __THROW;
Packit 6c4009
/* Return the EOF indicator for STREAM.  */
Packit 6c4009
extern int feof (FILE *__stream) __THROW __wur;
Packit 6c4009
/* Return the error indicator for STREAM.  */
Packit 6c4009
extern int ferror (FILE *__stream) __THROW __wur;
Packit 6c4009
Packit 6c4009
#ifdef __USE_MISC
Packit 6c4009
/* Faster versions when locking is not required.  */
Packit 6c4009
extern void clearerr_unlocked (FILE *__stream) __THROW;
Packit 6c4009
extern int feof_unlocked (FILE *__stream) __THROW __wur;
Packit 6c4009
extern int ferror_unlocked (FILE *__stream) __THROW __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
/* Print a message describing the meaning of the value of errno.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern void perror (const char *__s);
Packit 6c4009
Packit 6c4009
/* Provide the declarations for `sys_errlist' and `sys_nerr' if they
Packit 6c4009
   are available on this system.  Even if available, these variables
Packit 6c4009
   should not be used directly.  The `strerror' function provides
Packit 6c4009
   all the necessary functionality.  */
Packit 6c4009
#include <bits/sys_errlist.h>
Packit 6c4009
Packit 6c4009
Packit 6c4009
#ifdef	__USE_POSIX
Packit 6c4009
/* Return the system file descriptor for STREAM.  */
Packit 6c4009
extern int fileno (FILE *__stream) __THROW __wur;
Packit 6c4009
#endif /* Use POSIX.  */
Packit 6c4009
Packit 6c4009
#ifdef __USE_MISC
Packit 6c4009
/* Faster version when locking is not required.  */
Packit 6c4009
extern int fileno_unlocked (FILE *__stream) __THROW __wur;
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
#ifdef __USE_POSIX2
Packit 6c4009
/* Create a new stream connected to a pipe running the given command.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern FILE *popen (const char *__command, const char *__modes) __wur;
Packit 6c4009
Packit 6c4009
/* Close a stream opened by popen and return the status of its child.
Packit 6c4009
Packit 6c4009
   This function is a possible cancellation point and therefore not
Packit 6c4009
   marked with __THROW.  */
Packit 6c4009
extern int pclose (FILE *__stream);
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
Packit 6c4009
#ifdef	__USE_POSIX
Packit 6c4009
/* Return the name of the controlling terminal.  */
Packit 6c4009
extern char *ctermid (char *__s) __THROW;
Packit 6c4009
#endif /* Use POSIX.  */
Packit 6c4009
Packit 6c4009
Packit 6c4009
#if (defined __USE_XOPEN && !defined __USE_XOPEN2K) || defined __USE_GNU
Packit 6c4009
/* Return the name of the current user.  */
Packit 6c4009
extern char *cuserid (char *__s);
Packit 6c4009
#endif /* Use X/Open, but not issue 6.  */
Packit 6c4009
Packit 6c4009
Packit 6c4009
#ifdef	__USE_GNU
Packit 6c4009
struct obstack;			/* See <obstack.h>.  */
Packit 6c4009
Packit 6c4009
/* Write formatted output to an obstack.  */
Packit 6c4009
extern int obstack_printf (struct obstack *__restrict __obstack,
Packit 6c4009
			   const char *__restrict __format, ...)
Packit 6c4009
     __THROWNL __attribute__ ((__format__ (__printf__, 2, 3)));
Packit 6c4009
extern int obstack_vprintf (struct obstack *__restrict __obstack,
Packit 6c4009
			    const char *__restrict __format,
Packit 6c4009
			    __gnuc_va_list __args)
Packit 6c4009
     __THROWNL __attribute__ ((__format__ (__printf__, 2, 0)));
Packit 6c4009
#endif /* Use GNU.  */
Packit 6c4009
Packit 6c4009
Packit 6c4009
#ifdef __USE_POSIX199506
Packit 6c4009
/* These are defined in POSIX.1:1996.  */
Packit 6c4009
Packit 6c4009
/* Acquire ownership of STREAM.  */
Packit 6c4009
extern void flockfile (FILE *__stream) __THROW;
Packit 6c4009
Packit 6c4009
/* Try to acquire ownership of STREAM but do not block if it is not
Packit 6c4009
   possible.  */
Packit 6c4009
extern int ftrylockfile (FILE *__stream) __THROW __wur;
Packit 6c4009
Packit 6c4009
/* Relinquish the ownership granted for STREAM.  */
Packit 6c4009
extern void funlockfile (FILE *__stream) __THROW;
Packit 6c4009
#endif /* POSIX */
Packit 6c4009
Packit 6c4009
#if defined __USE_XOPEN && !defined __USE_XOPEN2K && !defined __USE_GNU
Packit 6c4009
/*  X/Open Issues 1-5 required getopt to be declared in this
Packit 6c4009
   header.  It was removed in Issue 6.  GNU follows Issue 6.  */
Packit 6c4009
# include <bits/getopt_posix.h>
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
/* Slow-path routines used by the optimized inline functions in
Packit 6c4009
   bits/stdio.h.  */
Packit 6c4009
extern int __uflow (FILE *);
Packit 6c4009
extern int __overflow (FILE *, int);
Packit 6c4009
Packit 6c4009
/* If we are compiling with optimizing read this file.  It contains
Packit 6c4009
   several optimizing inline functions and macros.  */
Packit 6c4009
#ifdef __USE_EXTERN_INLINES
Packit 6c4009
# include <bits/stdio.h>
Packit 6c4009
#endif
Packit 6c4009
#if __USE_FORTIFY_LEVEL > 0 && defined __fortify_function
Packit 6c4009
# include <bits/stdio2.h>
Packit 6c4009
#endif
Packit 6c4009
#ifdef __LDBL_COMPAT
Packit 6c4009
# include <bits/stdio-ldbl.h>
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
__END_DECLS
Packit 6c4009
Packit 6c4009
#endif /* <stdio.h> included.  */