cosmopolitan/libc/stdio/strlist.internal.h

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
386 B
C
Raw Normal View History

2022-09-07 03:07:29 +00:00
#ifndef COSMOPOLITAN_LIBC_STDIO_STRLIST_H_
#define COSMOPOLITAN_LIBC_STDIO_STRLIST_H_
COSMOPOLITAN_C_START_
struct StrList {
int i, n;
char **p;
};
void FreeStrList(struct StrList *);
int AppendStrList(struct StrList *);
void SortStrList(struct StrList *);
int JoinStrList(struct StrList *, char **, uint64_t);
2022-09-07 03:07:29 +00:00
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_STDIO_STRLIST_H_ */