This is the mail archive of the
libstdc++@sources.redhat.com
mailing list for the libstdc++ project.
Re: How to ...
- To: Theodore Papadopoulo <Theodore dot Papadopoulo at sophia dot inria dot fr>
- Subject: Re: How to ...
- From: Gabriel Dos Reis <Gabriel dot Dos-Reis at cmla dot ens-cachan dot fr>
- Date: 21 Sep 2000 22:23:59 +0200
- Cc: libstdc++ at sources dot redhat dot com
- Organization: CMLA, ENS Cachan -- CNRS UMR 8536 (France)
- References: <200009211857.e8LIvbe20219@mururoa.inria.fr>
- Reply-To: libstdc++ at sources dot redhat dot com
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