massimiliano cialdi wrote: >How can I get the file descriptor from an opened ifstream? > > It is not possible without an extension of the standard: we provide one in ext/stdio_filebuf.h. Paolo.