INTRO(C) XENIX System V INTRO(C)
Name
intro - Introduces XENIX commands.
Description
This section describes use of the individual commands
available in the XENIX Operating System. Each individual
command is labeled with either a C, a CP, or a CT for easy
reference from other volumes. The letter ``C'' stands for
``command''. The letters ``P'' and ``T'' stand for commands
that come with the optional XENIX Development System
(Programming) and the XENIX Text Processing System,
respectively. For example, the reference date(C) indicates
a reference to a discussion of the date command in the C
section; the reference cc(CP) indicates a reference to a
discussion of the cc command in the XENIX Development
System; and the reference spell(CT) indicates a reference to
a discussion of the spell command in the XENIX Text
Processing System. The Text Processing and Development
Systems are optional supplemental packages to the standard
Operating System.
The ``M'' Miscellaneous section contains miscellaneous
information including a great deal of system maintenance
information. Other reference sections include the ``S''
System Services section, the ``DOS'' Routines section, the
``F'' File Format section, and the ``ADM'' sysem
administration section.
Syntax
Unless otherwise noted, commands described in this section
accept options and other arguments according to the
following syntax:
name [option(s)] [cmdarg(s)]
where:
name Is the name of an executable file.
option - noargletter(s) or,
- argletter<>optarg
where <> is optional whitespace.
noargletter Is a single letter representing an option
without an argument.
argletter Is a single letter representing an option
requiring an argument.
Page 1 (printed 2/7/91)
INTRO(C) XENIX System V INTRO(C)
optarg Is an argument (character string) satisfying
preceding argletter.
cmdarg Is a pathname (or other command argument) not
beginning with -. - by itself usually indicates
the standard input.
See Also
getopt(C), getopt(S)
Diagnostics
Upon termination, each command returns 2 bytes of status,
one supplied by the system and giving the cause for
termination, and (in the case of ``normal'' termination) one
supplied by the program (see wait(S) and exit(S)). The
former byte is 0 for normal termination; the latter is
customarily 0 for successful execution and nonzero to
indicate troubles such as erroneous parameters, bad or
inaccessible data. It is called variously ``exit code'',
``exit status'', or ``return code'', and is described only
where special conventions are involved.
Notes
Not all commands adhere to the syntax described here.
Page 2 (printed 2/7/91)