diff options
author | Phil Edwards <pme@gcc.gnu.org> | 2001-12-19 21:36:33 +0000 |
---|---|---|
committer | Phil Edwards <pme@gcc.gnu.org> | 2001-12-19 21:36:33 +0000 |
commit | 572cd73ac976578951d38adf15c43d4dc9abb299 (patch) | |
tree | 531cf393bb222476629d562cfa33d4a623ed49a8 /libstdc++-v3/docs/html/ext | |
parent | 366f6a52736ae5a89000bcc48eca30946e6c871e (diff) | |
download | gcc-572cd73ac976578951d38adf15c43d4dc9abb299.zip gcc-572cd73ac976578951d38adf15c43d4dc9abb299.tar.gz gcc-572cd73ac976578951d38adf15c43d4dc9abb299.tar.bz2 |
configopts.html: Describe recent options.
2001-12-19 Phil Edwards <pme@gcc.gnu.org>
* docs/html/configopts.html: Describe recent options.
* docs/html/documentation.html: Point to new doxygen tarballs.
* docs/html/install.html: Brief updates.
* docs/html/17_intro/RELEASE-NOTES: Remove weird control character.
* docs/html/ext/howto.html: Fix typos, describe filebuf::fd().
* docs/html/faq/index.html: Update for 3.0.95.
* docs/html/faq/index.txt: Regenerate.
From-SVN: r48184
Diffstat (limited to 'libstdc++-v3/docs/html/ext')
-rw-r--r-- | libstdc++-v3/docs/html/ext/howto.html | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/libstdc++-v3/docs/html/ext/howto.html b/libstdc++-v3/docs/html/ext/howto.html index aadbedd..b883445 100644 --- a/libstdc++-v3/docs/html/ext/howto.html +++ b/libstdc++-v3/docs/html/ext/howto.html @@ -118,7 +118,7 @@ <li>The extensions added by SGI are so numerous that they have <a href="sgiexts.html">their own page</a>. Since the SGI STL is no longer actively maintained, we will try and keep this code working - ourselves. + ourselves.</li> <li><code>filebuf</code>s have another ctor with this signature:<br> <code>basic_filebuf(__c_file_type*, ios_base::openmode, int_type);</code> <br>This comes in very handy in a number of places, such as @@ -131,10 +131,18 @@ <li><code>ios_base::openmode M </code> // same as all the other uses of openmode <li><code>int_type B </code> - // buffer size, defaults to BUFSIZ + // buffer size, defaults to BUFSIZ if not specified </ul> For those wanting to use file descriptors instead of FILE*'s, I invite you to contemplate the mysteries of C's <code>fdopen()</code>. + </li> + <li>In library snapshot 3.0.95 and later, <code>filebuf</code>s bring + back an old extension: the <code>fd()</code> member function. The + integer returned from this function can be used for whatever file + descriptors can be used for on your platform. Naturally, the + library cannot track what you do on your own with a file descriptor, + so if you perform any I/O directly, don't expect the library to be + aware of it. </ul> </p> <p>Return <a href="#top">to top of page</a> or @@ -188,8 +196,8 @@ program: when your program's std::vector<int> gets cut in half and frees a bunch of its storage, that memory can be reused by the private std::list<WonkyWidget> brought in from a KDE library - that you linked against. And we don't have to call operator's new and - delete to pass the memory on, ether, which is a speed bonus. + that you linked against. And we don't have to call operators new and + delete to pass the memory on, either, which is a speed bonus. <strong>BUT</strong>... </p> <p>What about threads? No problem: in a threadsafe environment, the |