Boost logo

Boost :

Subject: Re: [boost] Standard stream from C fopen()
From: Claude (clros_at_[hidden])
Date: 2010-11-12 16:37:58


So these lines are right?

  stream_buffer<file_descriptor_source> fpstream (fileno(fd));
  std::istream in (&fpstream);

I making a stream_buffer from with a file_descriptor_source as template
parameter...

Excuse me , but I don't know well the C++...

OT
How can I move this question in "user" mailing list?
/OT

-- 
View this message in context: http://boost.2283326.n4.nabble.com/Standard-stream-from-C-fopen-tp3040002p3040365.html
Sent from the Boost - Dev mailing list archive at Nabble.com.

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk