|
Server Wait On Clients System - API Documentation v1.8.3
Server Wait On Clients System.
|
Command line argument processing for swocclient using getopt_long. More...
#include <getopt.h>#include <libgen.h>#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include "internal.h"#include <libmgec/mge-errno.h>#include <swoc/cmdlineargs.h>
Functions | |
| static void | usage (char **argv) |
| int | process_cla (int argc, char **argv,...) |
| Process command line arguments using getopt_long. | |
| int | cpyarg (char *flagarg, char *srcarg) |
Command line argument processing for swocclient using getopt_long.
Released under the GPLv3 only.
SPDX-License-Identifier: GPL-3.0-only
| int cpyarg | ( | char * | flagarg, |
| char * | srcarg ) |
| int process_cla | ( | int | argc, |
| char ** | argv, | ||
| ... ) |
Process command line arguments using getopt_long.
On error mge_errno will be set.
| argc | The standard CLA argc. |
| argv | The standard CLA argv. |
| ... | Variable number of flag structs. |
|
static |