blob: 03bbb8eaba3a0b30f8d6ed1b0836797c38e88b8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#ifndef STRV_H
#define STRV_H
#include <stddef.h>
typedef struct {
const char *s;
size_t n;
} strv_t;
strv_t strv(const char *s);
strv_t strv_head(strv_t ss, int chr, size_t *i);
#endif
|