parm()

Process the command-line arguments to the module

Synopsis:

static int parm( message_context_t *pContext, 
                 int opt, 
                 void *optarg );

Description:

This function processes the command-line arguments passed to the module. It's called by the Input Runtime System at startup.

This function is invoked once for each option letter or option-letter/option-argument pair. It's called only if opt is meaningful to pContext (i.e. the args member of pContext points to a string that contains the character opt).

This function should process the option letter, opt, along with its option arguments optarg, if applicable.

Returns:

EOK

Classification:

Your code

Safety:
Interrupt handler Yes
Signal handler Yes
Thread Yes