mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-28 06:14:10 +08:00
fstream: Add Table 92 in comment.
2007-06-08 Francesco Palagi <palagi@arcetri.astro.it> * include/std/fstream: Add Table 92 in comment. From-SVN: r125571
This commit is contained in:
parent
837a895482
commit
9735f6ba52
@ -1,3 +1,7 @@
|
||||
2007-06-08 Francesco Palagi <palagi@arcetri.astro.it>
|
||||
|
||||
* include/std/fstream: Add Table 92 in comment.
|
||||
|
||||
2007-06-06 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR libstdc++/32233
|
||||
|
@ -257,9 +257,30 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
* Otherwise it tries to open the file named @a s using the flags
|
||||
* given in @a mode.
|
||||
*
|
||||
* [Table 92 gives the relation between openmode combinations and the
|
||||
* equivalent fopen() flags, but the table has not been copied yet.]
|
||||
*/
|
||||
* Table 92, adapted here, gives the relation between openmode
|
||||
* combinations and the equivalent fopen() flags.
|
||||
* (NB: lines in|out|app and binary|in|out|app per DR 596)
|
||||
* +---------------------------------------------------------+
|
||||
* | ios_base Flag combination stdio equivalent |
|
||||
* |binary in out trunc app |
|
||||
* +---------------------------------------------------------+
|
||||
* | + "w" |
|
||||
* | + + "a" |
|
||||
* | + + "w" |
|
||||
* | + "r" |
|
||||
* | + + "r+" |
|
||||
* | + + + "w+" |
|
||||
* | + + + "a+" |
|
||||
* +---------------------------------------------------------+
|
||||
* | + + "wb" |
|
||||
* | + + + "ab" |
|
||||
* | + + + "wb" |
|
||||
* | + + "rb" |
|
||||
* | + + + "r+b" |
|
||||
* | + + + + "w+b" |
|
||||
* | + + + + "a+b" |
|
||||
* +---------------------------------------------------------+
|
||||
*/
|
||||
__filebuf_type*
|
||||
open(const char* __s, ios_base::openmode __mode);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user