]> gcc.gnu.org Git - gcc.git/blobdiff - libstdc++-v3/config/io/basic_file_stdio.h
basic_file_stdio.cc (__gnu_internal::fopen_mode): New function.
[gcc.git] / libstdc++-v3 / config / io / basic_file_stdio.h
index 0b984ebb2a97c4ccbad420595ae4add171b165f6..57ff4326e6b190498d5f9c153ca4186e26450dce 100644 (file)
@@ -1,6 +1,6 @@
 // Wrapper of C-language FILE struct -*- C++ -*-
 
-// Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
+// Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -36,8 +36,8 @@
  *  You should not attempt to use it directly.
  */
 
-#ifndef _CPP_BASIC_FILE
-#define _CPP_BASIC_FILE 1
+#ifndef _BASIC_FILE_STDIO_H
+#define _BASIC_FILE_STDIO_H 1
 
 #pragma GCC system_header
 
@@ -62,11 +62,7 @@ namespace std
 
     public:
       __basic_file(__c_lock* __lock = 0);
-      
-      void 
-      _M_open_mode(ios_base::openmode __mode, int& __p_mode, int& __rw_mode, 
-                  char* __c_mode);
-      
+
       __basic_file* 
       open(const char* __name, ios_base::openmode __mode, int __prot = 0664);
 
@@ -74,13 +70,7 @@ namespace std
       sys_open(__c_file* __file, ios_base::openmode);
 
       __basic_file*
-      sys_open(int __fd, ios_base::openmode __mode, bool __del);
-
-      int
-      sys_getc();
-
-      int
-      sys_ungetc(int);
+      sys_open(int __fd, ios_base::openmode __mode);
 
       __basic_file* 
       close(); 
@@ -97,15 +87,14 @@ namespace std
       xsputn(const char* __s, streamsize __n);
 
       streamsize 
-      xsgetn(char* __s, streamsize __n);
+      xsputn_2(const char* __s1, streamsize __n1,
+              const char* __s2, streamsize __n2);
 
-      streampos
-      seekoff(streamoff __off, ios_base::seekdir __way, 
-             ios_base::openmode __mode = ios_base::in | ios_base::out);
+      streamsize 
+      xsgetn(char* __s, streamsize __n);
 
-      streampos
-      seekpos(streampos __pos, 
-             ios_base::openmode __mode = ios_base::in | ios_base::out);
+      streamoff
+      seekoff(streamoff __off, ios_base::seekdir __way);
 
       int 
       sync();
This page took 0.027324 seconds and 5 git commands to generate.