This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
help : _IO_IN_BACKUP flag or g++ lib api reference
- To: help-gcc at gnu dot org
- Subject: help : _IO_IN_BACKUP flag or g++ lib api reference
- From: Douglas Forman <dforman at my-deja dot com>
- Date: Mon, 08 Nov 1999 19:05:33 GMT
- Newsgroups: gnu.gcc.help
- Organization: Deja.com - Before you buy.
- Xref: wodc7nx0 gnu.gcc.help:1725
Please help me answer this question, or possibly point me to
a good resource for g++ api documentation.
I'm trying to find out how the _IO_IN_BACKUP flag,
which is part of the IO_FILE structure defined in libio.h
is used.
I would like to use it as an "archive bit".
I saw it used in ./g++-2/streambuf.h in the function:gptr
char* gptr() const
{ return _IO_file_flags & _IO_IN_BACKUP ? _IO_save_base :
_IO_read_ptr; }
Anybody know how this is used?
Thanks in advance,
--
Requards,
Douglas Forman
Sent via Deja.com http://www.deja.com/
Before you buy.