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: "GavinSmith0123 at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Mon, 02 Jun 2014 18:18:45 +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 #5 from Gavin Smith <GavinSmith0123 at gmail dot com> ---
On Mon, Jun 2, 2014 at 2:15 PM, schwab@linux-m68k.org
<sourceware-bugzilla@sourceware.org> wrote:
> https://sourceware.org/bugzilla/show_bug.cgi?id=17011
>
> --- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
> isastream is declared in <stropts.h>.
>
Including this file brought in the declaration and the I_PUSH
definition and the example code compiles fine with it. So the bug is
that it's not documented that you should include this file. If there
are any other situations where you should be calling isastream for
compatibility reasons, there should be documentation of this as well.
--
You are receiving this mail because:
You are on the CC list for the bug.