How to ...
Theodore Papadopoulo
Theodore.Papadopoulo@sophia.inria.fr
Thu Sep 21 11:57:00 GMT 2000
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 ??
Thank's
Theo.
--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
--------------------------------------------------------------------
-------------- next part --------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Content-Type: text/plain; charset=us-ascii
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 ??
Thank's
Theo.
--------------------------------------------------------------------
Theodore Papadopoulo
Email: Theodore.Papadopoulo@sophia.inria.fr Tel: (33) 04 92 38 76 01
--------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.2 (GNU/Linux)
Comment: Exmh version 2.2 06/23/2000
iD8DBQE5ylogIzTj8qrxOU4RAnqiAJ0fqUw0VIDDDnxDQ1+NzPLwhfqvdACgv+7J
uM1Lq/ZVcP3mxLPKybsIqfE=
=PWKL
-----END PGP SIGNATURE-----
More information about the Libstdc++
mailing list