How to ...
Gabriel Dos Reis
Gabriel.Dos-Reis@cmla.ens-cachan.fr
Thu Sep 21 13:24:00 GMT 2000
Theodore Papadopoulo <Theodore.Papadopoulo@sophia.inria.fr> writes:
| [1 <text/plain; us-ascii (7bit)>]
|
| I know that the current goal of gcc and libstdc++-v3 is to
| implement the C++ standard. However, that standard does not seem to
| have considered the possibility of getting the file descriptor for
| iostreams. This is very annoying when trying to use some system calls
| such as mmap that requires such file descriptors and obliges the
| users to use the old C interface. Would it be accepted to add some
| method (in basic_file.h), eventually protected by sthg like
| #ifdef GNU_EXTENSION to add a method that would provide this file
| descriptor ??
This makes the assumption that basic_file.h should be implemented in
terms of file descriptors and functions on file descriptors.
-- Gaby
More information about the Libstdc++
mailing list