I can not use anymore filebuf class for file handling … Dinkumware havn’t
constructors, that I wrote below …
I want to use filebuf(int filedescriptor), but compiler said that no has
such constructors …
filebuf();
filebuf( filedesc fd );
filebuf( filedesc fd, char* pr, int nLength );
In article <9qu443$35v$1@inn.qnx.com>, Mike Gorchak <mike@malva.com.ua> wrote:
I can not use anymore filebuf class for file handling … Dinkumware havn’t
constructors, that I wrote below …
I want to use filebuf(int filedescriptor), but compiler said that no has
such constructors …
filebuf();
filebuf( filedesc fd );
filebuf( filedesc fd, char* pr, int nLength );
Standard C++ doesn’t know anything about file descriptors,
so if a vendor provides anything like the above, it would have
to be done as an extension.
Greg Comeau export ETA: December
Comeau C/C++ ONLINE ==> http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware’s Libraries… Have you tried it?