Boost logo

Boost Users :

Subject: Re: [Boost-users] Any stream class for C standard FILE * streams ?
From: Kim Barrett (kab.conundrums_at_[hidden])
Date: 2010-08-29 13:25:00

On Aug 29, 2010, at 8:26 AM, Timothy Madden wrote:
> Is there a stream class in boost that would use a C standard FILE * stream as the buffer ?

boost::iostreams::file_descriptor_{sink, source} in combination with fileno(FILE*) might be what you need. The sink/source type then needs to be wrapped in a boost::iostreams::stream<>.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at