Examples and Shells |
|
This document describes practices used by the
system administrator. Since the root user
(a superuser) is required to use the POSIX shell /sbin/sh, all command examples use that shell. The POSIX shell is defined
in sh-posix(1). For information on other shells, see
the Shells User’s Guide and sh(1).
Function Synopsis and Syntax |
|
HP-UX functions are described in a definition
format rather than a usage format. The definition format includes
typing information that is omitted when the function call is actually
included in a program.
The general definition form is:
type func ( type param [, type param]... );
For example:
int setuname ( const char *name , size_t namelen);
The usage form is:
func ( param [, param]... );
For example:
setuname ( name , namelen );
The function syntax elements are the same as for
commands, except for the options.