Print this page
14249 pseudo-terminal nomenclature should reflect POSIX
Change-Id: Ib4a3cef899ff4c71b09cb0dc6878863c5e8357bc
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/man/man7m/pckt.7m.man.txt
+++ new/usr/src/man/man7m/pckt.7m.man.txt
1 1 PCKT(7M) STREAMS Modules PCKT(7M)
2 2
↓ open down ↓ |
2 lines elided |
↑ open up ↑ |
3 3 NAME
4 4 pckt - STREAMS Packet Mode module
5 5
6 6 SYNOPSIS
7 7 int ioctl( fd, I_PUSH, "pckt");
8 8
9 9
10 10 DESCRIPTION
11 11 pckt is a STREAMS module that may be used with a pseudo terminal to
12 12 packetize certain messages. The pckt module should be pushed (see
13 - I_PUSH on streamio(7I)) onto the master side of a pseudo terminal.
13 + I_PUSH on streamio(7I)) onto the manager side of a pseudo terminal.
14 14
15 15
16 16 Packetizing is performed by prefixing a message with an M_PROTO
17 17 message. The original message type is stored in the 1 byte data
18 18 portion of the M_PROTO message.
19 19
20 20
21 21 On the read-side, only the M_PROTO, M_PCPROTO, M_STOP, M_START,
22 22 M_STOPI, M_STARTI, M_IOCTL, M_DATA, M_FLUSH, and M_READ messages are
23 23 packetized. All other message types are passed upstream unmodified.
24 24
25 25
26 - Since all unread state information is held in the master's stream head
26 + Since all unread state information is held in the manager's stream head
27 27 read queue, flushing of this queue is disabled.
28 28
29 29
30 30 On the write-side, all messages are sent down unmodified.
31 31
32 32
33 - With this module in place, all reads from the master side of the pseudo
34 - terminal should be performed with the getmsg(2) or getpmsg() function.
35 - The control part of the message contains the message type. The data
36 - part contains the actual data associated with that message type. The
37 - onus is on the application to separate the data into its component
38 - parts.
33 + With this module in place, all reads from the manager side of the
34 + pseudo terminal should be performed with the getmsg(2) or getpmsg()
35 + function. The control part of the message contains the message type.
36 + The data part contains the actual data associated with that message
37 + type. The onus is on the application to separate the data into its
38 + component parts.
39 39
40 40 SEE ALSO
41 41 getmsg(2), ioctl(2), ldterm(7M), ptem(7M), streamio(7I), termio(7I)
42 42
43 43
44 44 STREAMS Programming Guide
45 45
46 - July 3, 1990 PCKT(7M)
46 + February 5, 2022 PCKT(7M)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX