Server Wait On Clients System - API Documentation
v1.6.4
Server Wait On Clients System.
|
Header file for command line processing. More...
#include <limits.h>
#include <libmgec/mge-portability.h>
Go to the source code of this file.
Data Structures | |
struct | cla |
Command line argument. More... | |
Macros | |
#define | ARG_BUF PATH_MAX |
Argument buffer size. More... | |
Functions | |
int | process_cla (int argc, char **argv,...) |
Process command line arguments using getopt_long. More... | |
int | cpyarg (char *flagarg, char *srcarg) |
Header file for command line processing.
Released under the GPLv3 only.
SPDX-License-Identifier: GPL-3.0-only
#define ARG_BUF PATH_MAX |
Argument buffer size.
Use maximum path length as size of argument for want of a more meaningful value.
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. |