Go to the source code of this file.
Functions | |
static void | StopApplication (int sig) |
int | main (int argc, const char *argv[]) |
Variables | |
int | appRunning =1 |
static const char * | usageText [] |
static int | opt_streamid = -1 |
struct argparse_option | arg_options [] |
Function Documentation
|
static |
The function called when user is pressing CTRL-C
Definition at line 126 of file statUsage_example.c.
Referenced by main().
int main | ( | int | argc, |
const char * | argv[] | ||
) |
Definition at line 140 of file statUsage_example.c.
Variable Documentation
int appRunning =1 |
Definition at line 98 of file statUsage_example.c.
Referenced by main(), and StopApplication().
|
static |
Initial value:
= {
"Syntax:\n"
"statUsage_example [-h][-s <stream ID>]\n"
"\nCommands:\n",
NULL}
Print command line info
Definition at line 103 of file statUsage_example.c.
Referenced by main().
|
static |
- Examples:
- statUsage/statUsage_example.c.
Definition at line 109 of file statUsage_example.c.
Referenced by main().
struct argparse_option arg_options[] |
Initial value:
Table of valid options.
Definition at line 114 of file statUsage_example.c.