From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-07-20 01:06:23
Robert Ramey wrote:
> >>  As does the manpage say: "Never use this function".
> >Depending on the version, you may even see a more helpful message in the
> > Never use this function. Use mkstemp(3) instead.
> Well, not helpful enough. Making a stream from a file descriptor is code I
> don't have.
Maybe, you should take a look at the code I've posted... you don't need to
create fstream from file descriptor. You can open the file using the name
mkstemp returns via the in/out parameter.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk