HP-UX Reference (11i v2 04/09) - 7 Device (Special) Files, 9 General Information, Index (vol 10)

p
ptem(7) ptem(7)
upstream with the jwinsize structure. If the values are zero,
ptem sends an M_IOCNAK
message upstream.
When an
M_IOCTL message of type
TIOCGWINSZ is received on its write queue and if the
values in the
winsize structure in ptem are not zero,
ptem sends an M_IOCACK message
upstream with the
winsize structure. If the values are zero,
ptem sends an M_IOCNAK
message upstream.
When an
M_IOCTL message of type TIOCSWINSZ
is received in its write queue, ptem saves
the information passed to it in the
winsize
structure and sends an M_PCSIG (with the signal
number set to
SIGWINCH) upstream to the pty slave process if the window size is changed.
When an
M_IOCTL message of type TIOCGWINSZ
is received on its read queue and if the
values in the
winsize structure in ptem are not zero,
ptem sends an M_IOCACK message
downstream with the
winsize structure. If the values are zero,
ptem sends an M_IOCNAK
message downstream.
When an
M_IOCTL message of type TIOCSWINSZ
is received in its read queue, ptem saves
the information passed to it in the
winsize
structure and sends an M_PCSIG (with the signal
number is set to
SIGWINCH) upstream to the pty slave process if the window size is changed.
All other messages not mentioned above are passed to the next module or driver.
AUTHOR
ptem was developed by HP.
SEE ALSO
ioctl(2), streamio(7), ptm(7), pts(7), ldterm(7).
HP-UX 11i Version 2: September 2004 2 Hewlett-Packard Company Section 7107