|
|
iAPX286
i386
i486
(also: vax, mc68k, pdp11, u370, u3b, u3b15, u3b2, u3b5)
If the machine is a 286, the i286 and iAPX286 commands will return a true value (exit code of 0); otherwise they will return a false (non-zero) value.
If the machine is a 386 or fully compatible with a 386 (such as a 486), the i386 command will return a true value; otherwise it will return a false value.
If the machine is a 486 or fully compatible with a 486, the i486 command will return a true value; otherwise it will return a false value.
This type of command is often used within makefiles (see make(CP)) and shell procedures (see sh(C)) to increase portability. Although the SCO OpenServer system does not support these other machines, the commands vax, mc68k, pdp11, u370, u3b, u3b15, u3b2, and u3b5 are all available and work in a similar manner (these will all return a false value).