This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
File descriptors with streams
- To: gcc-help at gcc dot gnu dot org
- Subject: File descriptors with streams
- From: Erik Elliott <Erik dot Elliott at 3Dlabs dot com>
- Date: Tue, 10 Jul 2001 12:12:53 -0500
I am trying to port a program from a solaris machine to a linux machine.
There is a certain section of code that uses the old ofstream constructor
that takes a file descriptor as its argument, and then later uses the fd()
function. I have the new gcc 3.0 g++ compiler and I know the new libraries
do not support this anymore. How would I work around this, or can I find
a library to support this feature?