This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/17011] Example in "Allocating Pseudo-Terminals" section uses isastream


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]