SCC(3)                                                     SCC(3)

     NAME
          scc, duart, uart - serial communication control

     SYNOPSIS
          bind -a #t /dev

          /dev/eia0
          /dev/eia0ctl
          /dev/eia1
          /dev/eia1ctl

     DESCRIPTION
          The serial line devices serve a one-level directory, giving
          access to the serial ports.  There are several devices serv-
          ing the same files; the particular one used depends on the
          machine involved.  Eia0 is a stream data file.  It can be
          read and written to use that port.  Reads will block until
          at least one character is available.  Eia0ctl is a stream
          control file associated with the port.  Eia1 and eia1ctl are
          similar, but for a second serial line.

          The ctl file can be used to push stream modules onto the
          port.  One can also write one of the following textual com-
          mands to a ctl file:

          bn   set the baud rate to n.

          dn   set dtr if n is 1; else clear it.

          kn   send a break lasting n milliseconds.

          rn   set RTS if n is 1; else clear it.

     Page 1                       Plan 9             (printed 4/25/24)