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 #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.


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