3.7.1.3.3 Arguments
The argc
and argv
arguments are passed from the command line. The argc
argument contains the name of the server. The argv
argument contains the first command-line option that is specific to the application, if there are any.
Command-line options are specified in the UBBCONFIG
file using the CLOPT
parameter in the entry for the server in the SERVERS
section. System-recognized options come first in the CLOPT
parameter, followed by a double-hyphen (--
), followed by the application-specific options. The value of argc
is one greater than the number of application-specific options. For details, see ubbconfig(5)
in the File Formats, Data Descriptions, MIBs, and System Processes Reference.
Parent topic: Server::initialize()