Use GNU-C++ extension <ext/stdio_filebuf.h>, which can turn a unix file descriptor into a streambuf.
unfortunately linux-specific (opens /dev/fd/*).
Contact help@ncsa.illinois.edu with questions regarding this site. | All rights reserved. ©2024 Board of Trustees of the University of Illinois. | Web Privacy Notice