This is the mail archive of the libstdc++@sources.redhat.com mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to ...



	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
 --------------------------------------------------------------------



PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]