Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ vax(1) — CLIX 3.1r7.6.28

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

make(1)

sh(1)

test(1)

true(1)



  vax(1)                              CLIX                              vax(1)



  NAME

    vax - Gets processor type truth value

  SYNOPSIS

    vax

  DESCRIPTION

    The vax command returns a true value (exit code of 0) if the processor
    matches the command name and returns a false value (nonzero) if the
    processor does not match the command name.

    The vax command is often used within makefiles (see make(1)) and shell
    procedures (see sh(1)) to increase portability.

  EXAMPLES

    1.  If the user enters

        vax

        on a VAX-11/750 or VAX-11/780 system, the exit value will be 0.

    2.  Entering

        vax

        on a system other than a VAX-11/750 or VAX-11/780 system results in an
        exit value of 255.

  EXIT VALUES

    If the vax command is entered on a VAX-11/750 or VAX-11/780 system, it
    exits with a value of 0.  If the vax command is entered on a system other
    than a VAX-11/750 or VAX-11/780, the command exits with a value of 255.

  RELATED INFORMATION

    Commands: make(1), sh(1), test(1), true(1)













  2/94 - Intergraph Corporation                                              1




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