|
Boost : |
From: Jonathan Turkanis (technews_at_[hidden])
Date: 2004-07-21 10:13:08
"Robert Ramey" <ramey_at_[hidden]> wrote in message
news:20040720041528.C8A1C319C9_at_acme.west.net...
> >> [1] As does the manpage say: "Never use this function".
>
> >Depending on the version, you may even see a more helpful message
in the
> >manpage.
>
>
> >BUGS
> > 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.
Nicolai Josuttis has written iostreams based on file descriptors:
http://www.josuttis.com/cppcode/fdstream.html.
Jonathan
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk