mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 19:43:32 +00:00
21 lines
501 B
C
21 lines
501 B
C
|
#ifndef COSMOPOLITAN_TOOL_BUILD_LIB_GETARGS_H_
|
||
|
#define COSMOPOLITAN_TOOL_BUILD_LIB_GETARGS_H_
|
||
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||
|
COSMOPOLITAN_C_START_
|
||
|
|
||
|
struct GetArgs {
|
||
|
size_t i, j;
|
||
|
char **args;
|
||
|
char *path;
|
||
|
char *map;
|
||
|
size_t mapsize;
|
||
|
};
|
||
|
|
||
|
void getargs_init(struct GetArgs *, char **);
|
||
|
const char *getargs_next(struct GetArgs *);
|
||
|
void getargs_destroy(struct GetArgs *);
|
||
|
|
||
|
COSMOPOLITAN_C_END_
|
||
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||
|
#endif /* COSMOPOLITAN_TOOL_BUILD_LIB_GETARGS_H_ */
|