aboutsummaryrefslogtreecommitdiff
path: root/manual
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2019-03-14 15:44:14 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-03-14 15:44:15 +0100
commita0a0dc83173ce11ff45105fd32e5d14356cdfb9c (patch)
tree8487bfd04a8a2975c062be571379e02b994f2aa2 /manual
parent081bdf942126b7d4a368d09438a06fd831c14dad (diff)
downloadglibc-a0a0dc83173ce11ff45105fd32e5d14356cdfb9c.zip
glibc-a0a0dc83173ce11ff45105fd32e5d14356cdfb9c.tar.gz
glibc-a0a0dc83173ce11ff45105fd32e5d14356cdfb9c.tar.bz2
Remove obsolete, never-implemented XSI STREAMS declarations
The stub implementations are turned into compat symbols. Linux actually has two reserved system call numbers (for getpmsg and putpmsg), but these system calls have never been implemented, and there are no plans to implement them, so this patch replaces the wrappers with the generic stubs. According to <https://bugzilla.redhat.com/show_bug.cgi?id=436349>, the presence of the XSI STREAMS declarations is a minor portability hazard because they are not actually implemented. This commit does not change the TIRPC support code in sunrpc/rpc_svcout.c. It uses additional XTI functionality and therefore never worked with glibc. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Diffstat (limited to 'manual')
-rw-r--r--manual/terminal.texi13
1 files changed, 0 insertions, 13 deletions
diff --git a/manual/terminal.texi b/manual/terminal.texi
index d830baa..7293bfb 100644
--- a/manual/terminal.texi
+++ b/manual/terminal.texi
@@ -2117,12 +2117,6 @@ at @var{buf} with length @var{len}.
This function is a GNU extension.
@end deftypefun
-@strong{Portability Note:} On @w{System V} derived systems, the file
-returned by the @code{ptsname} and @code{ptsname_r} functions may be
-STREAMS-based, and therefore require additional processing after opening
-before it actually behaves as a pseudo terminal.
-@c FIXME: xref STREAMS
-
Typical usage of these functions is illustrated by the following example:
@smallexample
int
@@ -2145,13 +2139,6 @@ open_pty_pair (int *amaster, int *aslave)
if (slave == -1)
goto close_master;
- if (isastream (slave))
- @{
- if (ioctl (slave, I_PUSH, "ptem") < 0
- || ioctl (slave, I_PUSH, "ldterm") < 0)
- goto close_slave;
- @}
-
*amaster = master;
*aslave = slave;
return 1;