#include <nt.h>#include <unistd.h>#include <signal.h>#include <stdatomic.h>#include <stdlib.h>#include <argparse.h>Go to the source code of this file.
Macros | |
| #define | MAX_NUM_STREAM_IDS (1*256) |
Functions | |
| static void | StopApplication (int sig) |
| int | main (int argc, const char *argv[]) |
Variables | |
| static atomic_int | appRunning = 1 |
| static const char * | usageText [] |
| static int | opt_streamid = -1 |
| struct argparse_option | arg_options [] |
Macro Definition Documentation
| #define MAX_NUM_STREAM_IDS (1*256) |
- Examples:
- statUsage/statUsage_example.c.
Definition at line 99 of file statUsage_example.c.
Referenced by main().
Function Documentation
|
static |
The function called when user is pressing CTRL-C
Definition at line 138 of file statUsage_example.c.
Referenced by main().
| int main | ( | int | argc, |
| const char * | argv[] | ||
| ) |
Definition at line 145 of file statUsage_example.c.
Variable Documentation
|
static |
Definition at line 104 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 110 of file statUsage_example.c.
Referenced by main().
|
static |
- Examples:
- statUsage/statUsage_example.c.
Definition at line 116 of file statUsage_example.c.
Referenced by main().
| struct argparse_option arg_options[] |
Initial value:
Table of valid options.
Definition at line 121 of file statUsage_example.c.