stdio.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // -*- C++ -*- compatibility header.
  2. // Copyright (C) 2002-2022 Free Software Foundation, Inc.
  3. //
  4. // This file is part of the GNU ISO C++ Library. This library is free
  5. // software; you can redistribute it and/or modify it under the
  6. // terms of the GNU General Public License as published by the
  7. // Free Software Foundation; either version 3, or (at your option)
  8. // any later version.
  9. // This library is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. // Under Section 7 of GPL version 3, you are granted additional
  14. // permissions described in the GCC Runtime Library Exception, version
  15. // 3.1, as published by the Free Software Foundation.
  16. // You should have received a copy of the GNU General Public License and
  17. // a copy of the GCC Runtime Library Exception along with this program;
  18. // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
  19. // <http://www.gnu.org/licenses/>.
  20. /** @file stdio.h
  21. * This is a Standard C++ Library header.
  22. */
  23. #include <cstdio>
  24. #ifndef _GLIBCXX_STDIO_H
  25. #define _GLIBCXX_STDIO_H 1
  26. #ifdef _GLIBCXX_NAMESPACE_C
  27. using std::FILE;
  28. using std::fpos_t;
  29. using std::remove;
  30. using std::rename;
  31. using std::tmpfile;
  32. using std::tmpnam;
  33. using std::fclose;
  34. using std::fflush;
  35. using std::fopen;
  36. using std::freopen;
  37. using std::setbuf;
  38. using std::setvbuf;
  39. using std::fprintf;
  40. using std::fscanf;
  41. using std::printf;
  42. using std::scanf;
  43. using std::snprintf;
  44. using std::sprintf;
  45. using std::sscanf;
  46. using std::vfprintf;
  47. using std::vfscanf;
  48. using std::vprintf;
  49. using std::vscanf;
  50. using std::vsnprintf;
  51. using std::vsprintf;
  52. using std::vsscanf;
  53. using std::fgetc;
  54. using std::fgets;
  55. using std::fputc;
  56. using std::fputs;
  57. using std::getc;
  58. using std::getchar;
  59. using std::gets;
  60. using std::putc;
  61. using std::putchar;
  62. using std::puts;
  63. using std::ungetc;
  64. using std::fread;
  65. using std::fwrite;
  66. using std::fgetpos;
  67. using std::fseek;
  68. using std::fsetpos;
  69. using std::ftell;
  70. using std::rewind;
  71. using std::clearerr;
  72. using std::feof;
  73. using std::ferror;
  74. using std::perror;
  75. #endif
  76. #endif