tsd(7)

tsd - TELNET server protocol STREAMS device

As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.

NAME
     tsd - TELNET server protocol STREAMS device

DESCRIPTION
     tsd is a STREAMS-based module that provides Internet TELNET server
     protocol handling within the IRIX kernel.

     When the device special file /dev/tnclone is opened a stream is created
     and is attached to a special terminal device. A program can call fstat(2)
     with the returned file descriptor to determine which device the stream
     has been connected to. The device behaves like a terminal with
     transparent TELNET server protocol processing.

     On success, an open of tnclone returns a non-negative number.  On
     failure, it returns -1 and errno is set to one of the following values:

     ENXIO        tsd devices are not configured into the kernel or all are in
                  use.

     ENODEV       Devices are not configured into the kernel, or device file
                  does not exist, or device numbers are incompatible.

     EBUSY        Exclusive open failed because another process already has
                  the device open.

FILES
     /dev/tnclone                  - telnet stream clone device
     /dev/tty[ghij][0-0xff]        - telnet streams terminals

CAVEATS
     The tsd driver is intended to be used only by the telnetd(1M) program and
     the interface is likely to change in future releases.

SEE ALSO
     streamio(7), telnetd(1M)