xref: /netbsd-src/external/gpl3/gcc/dist/libstdc++-v3/include/c/cstdio (revision b1e838363e3c6fc78a55519254d99869742dd33c)
14fee23f9Smrg// -*- C++ -*- forwarding header.
24fee23f9Smrg
3*b1e83836Smrg// Copyright (C) 2000-2022 Free Software Foundation, Inc.
44fee23f9Smrg//
54fee23f9Smrg// This file is part of the GNU ISO C++ Library.  This library is free
64fee23f9Smrg// software; you can redistribute it and/or modify it under the
74fee23f9Smrg// terms of the GNU General Public License as published by the
84fee23f9Smrg// Free Software Foundation; either version 3, or (at your option)
94fee23f9Smrg// any later version.
104fee23f9Smrg
114fee23f9Smrg// This library is distributed in the hope that it will be useful,
124fee23f9Smrg// but WITHOUT ANY WARRANTY; without even the implied warranty of
134fee23f9Smrg// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
144fee23f9Smrg// GNU General Public License for more details.
154fee23f9Smrg
164fee23f9Smrg// Under Section 7 of GPL version 3, you are granted additional
174fee23f9Smrg// permissions described in the GCC Runtime Library Exception, version
184fee23f9Smrg// 3.1, as published by the Free Software Foundation.
194fee23f9Smrg
204fee23f9Smrg// You should have received a copy of the GNU General Public License and
214fee23f9Smrg// a copy of the GCC Runtime Library Exception along with this program;
224fee23f9Smrg// see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
234fee23f9Smrg// <http://www.gnu.org/licenses/>.
244fee23f9Smrg
254fee23f9Smrg//
264fee23f9Smrg// ISO C++ 14882: 27.8.2  C Library files
274fee23f9Smrg//
284fee23f9Smrg
294fee23f9Smrg#ifndef _GLIBCXX_CSTDIO
304fee23f9Smrg#define _GLIBCXX_CSTDIO 1
314fee23f9Smrg
324fee23f9Smrg#pragma GCC system_header
334fee23f9Smrg
344fee23f9Smrg#include_next <stdio.h>
354fee23f9Smrg
364fee23f9Smrg// Get rid of those macros defined in <stdio.h> in lieu of real functions.
374fee23f9Smrg#undef clearerr
384fee23f9Smrg#undef fclose
394fee23f9Smrg#undef feof
404fee23f9Smrg#undef ferror
414fee23f9Smrg#undef fflush
424fee23f9Smrg#undef fgetc
434fee23f9Smrg#undef fgetpos
444fee23f9Smrg#undef fgets
454fee23f9Smrg#undef fopen
464fee23f9Smrg#undef fprintf
474fee23f9Smrg#undef fputc
484fee23f9Smrg#undef fputs
494fee23f9Smrg#undef fread
504fee23f9Smrg#undef freopen
514fee23f9Smrg#undef fscanf
524fee23f9Smrg#undef fseek
534fee23f9Smrg#undef fsetpos
544fee23f9Smrg#undef ftell
554fee23f9Smrg#undef fwrite
564fee23f9Smrg#undef getc
574fee23f9Smrg#undef getchar
584fee23f9Smrg#undef gets
594fee23f9Smrg#undef perror
604fee23f9Smrg#undef printf
614fee23f9Smrg#undef putc
624fee23f9Smrg#undef putchar
634fee23f9Smrg#undef puts
644fee23f9Smrg#undef remove
654fee23f9Smrg#undef rename
664fee23f9Smrg#undef rewind
674fee23f9Smrg#undef scanf
684fee23f9Smrg#undef setbuf
694fee23f9Smrg#undef setvbuf
704fee23f9Smrg#undef sprintf
714fee23f9Smrg#undef sscanf
724fee23f9Smrg#undef tmpfile
734fee23f9Smrg#undef tmpnam
744fee23f9Smrg#undef ungetc
754fee23f9Smrg#undef vfprintf
764fee23f9Smrg#undef vprintf
774fee23f9Smrg#undef vsprintf
784fee23f9Smrg
794fee23f9Smrg#endif
80