public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug manual/17011] New: Example in "Allocating Pseudo-Terminals" section uses isastream
@ 2014-06-02 12:23 GavinSmith0123 at gmail dot com
  2014-06-02 13:15 ` [Bug manual/17011] " schwab@linux-m68k.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: GavinSmith0123 at gmail dot com @ 2014-06-02 12:23 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=17011

            Bug ID: 17011
           Summary: Example in "Allocating Pseudo-Terminals" section uses
                    isastream
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: GavinSmith0123 at gmail dot com
                CC: mtk.manpages at gmail dot com, roland at gnu dot org

There is an example function showing use of the functions for opening a
pseudo-terminal pair in the "Allocating Pseudo-Terminals" section of the
manual. There is a conditional block using the "isastream" function which calls
extra ioctls on the slave file descriptor.

However, when I tried to use this example, I got error messages that there was
no function isastream, and there is no mention of isastream anywhere else in
the manual.

I assume it is related to the comment above the code about a file being
"STREAMS-based" on System V-derived systems (based on the common use of the
word "stream"), but there's no explanation of what this means or any references
to an explanation. If this is the case, I would suggest placing a comment in
the example function above the condition which said something like "Only do
this on a System V system".

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-04-11 11:42 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-02 12:23 [Bug manual/17011] New: Example in "Allocating Pseudo-Terminals" section uses isastream GavinSmith0123 at gmail dot com
2014-06-02 13:15 ` [Bug manual/17011] " schwab@linux-m68k.org
2014-06-02 14:00 ` mtk.manpages at gmail dot com
2014-06-02 14:13 ` schwab@linux-m68k.org
2014-06-02 14:21 ` mtk.manpages at gmail dot com
2014-06-12 19:09 ` fweimer at redhat dot com
2015-06-07 16:24 ` GavinSmith0123 at gmail dot com
2023-04-11 11:34 ` GavinSmith0123 at gmail dot com
2023-04-11 11:42 ` GavinSmith0123 at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).