This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug manual/17011] Example in "Allocating Pseudo-Terminals" section uses isastream
- From: "mtk.manpages at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 02 Jun 2014 14:00:08 +0000
- Subject: [Bug manual/17011] Example in "Allocating Pseudo-Terminals" section uses isastream
- Auto-submitted: auto-generated
- References: <bug-17011-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=17011
--- Comment #2 from Michael Kerrisk <mtk.manpages at gmail dot com> ---
(In reply to Andreas Schwab from comment #1)
> isastream is declared in <stropts.h>.
But that misses the point. The isastream() implementation is a placeholder that
does nothing much useful. The example code really shouldn't be using
isastream(); that piece of the code is System-Vish, and rather irrelevant these
days.
There are other pieces of that section of the glibc manual that are also rather
crufty. For example, no-one should use the GNU getpt() these days. Use
posix_openpt() instead.
--
You are receiving this mail because:
You are on the CC list for the bug.