Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ strconf(1) — Reliant UNIX 5.44c4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

strchg(1)

streamio(7)

strconf(1)                                                       strconf(1)

NAME
     strconf - query stream configuration

SYNOPSIS
     strconf[ -t| -m module]

DESCRIPTION
     strconf is used to query the configuration of the stream associated
     with the user's standard input.

OPTIONS
     No option specified:
          strconf lists all the modules in the stream as well as the top-
          most driver. The list has one name per line; the first item is
          the topmost module on the stream (if one exists), and the last
          item is the name of the driver.

     -t   Only the topmost module (if one exists) is listed.

     -m module
          strconf checks if the named module is present on a stream. If it
          is, strconf prints the message yes and returns an exit status of
          zero. If not, it prints the message no and returns a non-zero
          exit status.

     The -t and -m options are mutually exclusive.

EXIT STATUS
     0    The check on the stream was successful. With the -m or -t option,
          a zero exit status means that the named or topmost module is
          present.

     not 0
          The -m or -t option was used and the specified module is not
          present. A non-zero exit status is also returned for various
          error conditions such as the use of invalid options or failure of
          an ioctl on the stream.

EXAMPLES
     Example 1

     The strconf command without arguments produces the following output
     for a stream that has only the module ldterm pushed above the ports
     driver:

     ldterm
     ports








Page 1                       Reliant UNIX 5.44                Printed 11/98

strconf(1)                                                       strconf(1)

     Example 2

     The following command checks if the module ldterm is on the stream:

     $ strconf -m ldterm

     If the module is present, strconf prints the message:

     yes

     and returns an exit status of zero.

SEE ALSO
     strchg(1), streamio(7).








































Page 2                       Reliant UNIX 5.44                Printed 11/98

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026