![]() |
![]() |
![]() |
![]() |
Process the command-line arguments to the module
static int parm( message_context_t *pContext,
int opt,
void *optarg );
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.
EOK
Your code
| Safety: | |
|---|---|
| Interrupt handler | Yes |
| Signal handler | Yes |
| Thread | Yes |
![]() |
![]() |
![]() |
![]() |