mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
18 lines
416 B
C
18 lines
416 B
C
#ifndef COSMOPOLITAN_TOOL_BUILD_LIB_GETARGS_H_
|
|
#define COSMOPOLITAN_TOOL_BUILD_LIB_GETARGS_H_
|
|
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 /* COSMOPOLITAN_TOOL_BUILD_LIB_GETARGS_H_ */
|