ReactOS 0.4.16-dev-433-g6363f78
|
#include <schily/mconfig.h>
#include <schily/standard.h>
#include <schily/utypes.h>
#include <schily/getargs.h>
#include <schily/varargs.h>
#include <schily/string.h>
#include <schily/schily.h>
#include <schily/ctype.h>
Go to the source code of this file.
Classes | |
struct | sflags |
Macros | |
#define | NEW |
#define | RETMAX 2 /* Max. value for getargerror() */ |
#define | FLAGDELIM 2 /* "--" stopped flag processing */ |
#define | NOTAFLAG 1 /* Not a flag type argument */ |
#define | NOARGS 0 /* No more args */ |
#define | BADFLAG (-1) /* Not a valid flag argument */ |
#define | BADFMT (-2) /* Error in format string */ |
#define | NOTAFILE (-3) /* Seems to be a flag type arg */ |
#define | RETMIN (-3) /* Min. value for getargerror() */ |
#define | RNAME(a) (retnames[(a)-RETMIN]) |
#define | SCANONLY 0 /* Do not try to set argument values */ |
#define | SETARGS 1 /* Set argument values from cmdline */ |
#define | ARGVECTOR 2 /* Use vector instead of list interface */ |
#define | NOEQUAL 4 /* -opt=val not allowed for -opt val */ |
#define | isfmtspec(c) (strchr(fmtspecs, c) != NULL) |
#define | MAXSF 64 |
Variables | |
static UConst char | sccsid [] |
LOCAL char * | retnames [] |
LOCAL va_list | va_dummy |
LOCAL char | fmtspecs [] = "#?*&~+%" |
LOCAL struct ga_props | props_default = { 0, 0, sizeof (struct ga_props) } |
LOCAL struct ga_props | props_posix = { GAF_POSIX_DEFAULT, 0, sizeof (struct ga_props) } |
#define MAXSF 64 |
Definition at line 121 of file getargs.c.
EXPORT int _getargs | ( | int * | pac, |
char *const ** | pav, | ||
void * | vfmt, | ||
int | flags, | ||
struct ga_props * | props, | ||
va_list | args | ||
) |
Definition at line 395 of file getargs.c.
Referenced by getallargs(), getargs(), getfiles(), getlallargs(), getlargs(), getlfiles(), getvallargs(), getvargs(), and getvfiles().
Definition at line 143 of file getargs.c.
Referenced by _getargs(), getlallargs(), and getvallargs().
Definition at line 433 of file getargs.c.
Referenced by _getargs().
LOCAL int doflag | ( | int * | pac, |
char *const ** | pav, | ||
const char * | argp, | ||
void * | vfmt, | ||
int | flags, | ||
va_list | oargs | ||
) |
Definition at line 502 of file getargs.c.
Referenced by _getargs().
LOCAL int dosflags | ( | const char * | argp, |
void * | vfmt, | ||
int * | pac, | ||
char *const ** | pav, | ||
int | flags, | ||
va_list | oargs | ||
) |
Definition at line 1035 of file getargs.c.
Referenced by doflag().
Definition at line 245 of file getargs.c.
Definition at line 117 of file getargs.c.
Referenced by _getprops().
Definition at line 118 of file getargs.c.
Referenced by _getprops().
Definition at line 111 of file getargs.c.
Referenced by doflag(), getfiles(), getlfiles(), getvallargs(), getvargs(), and getvfiles().