DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

NAME

sertty - Display the sertty structure

SYNOPSIS

sertty a

DESCRIPTION

The sertty macro takes one argument a pointer to a port device. It displays the buffer, flag and other information about the serial device.

The structure is defined in /usr/include/sys/serial.h.

To obtain the pointer array to the tty struct of ports use:

  S>dl p_ser_tty
  p_ser_tty:  C12D7F60 C12D7FB0 C12D8000 C12D8050  `.-...-...-.P.-.
  p_ser_tty+10:  C12D80A0 C12D80F0 00000000 00000000  ..-...-.........
Typical output looks like this:
  S> sertty C12D7FB0
[C12D7FB0]  state 0014: ISOPEN CARR_ON
    t_ioctlp 00000000  line 00  dev 01
    iflag 0122: BRKINT ISTRIP ICRNL
    oflag 0000:
    cflag 07AD: B9600 CS7 CREAD PARENB PARODD HUPCL
    lflag 0000:
    dstat 00:
    INTR 00  ERASE 00  EOF 00   EOL2 00  QUIT 00   KILL 00  EOL 00  SWTCH 00
             bu_bp    bu_ptr    bu_cnt
    t_in:   D1B12600  00000000  000000DC
    t_out:  00000000  00000000  00000000
    t_rdqp: D193CC00
 q_strhead: D193C780

DEFINED IN

sertty.k

SEE ALSO

device

APPENDIX A: Alphabetic Index of Macros