Lassi Kortela
|
3448e8f150
|
Include missing <stdarg.h>
|
2019-08-18 13:36:43 +03:00 |
Lassi Kortela
|
3dc58baa4a
|
Include <sys/types.h> to get off_t
This header is even shipped by Windows compilers. The iostream stuff
uses off_t.
|
2019-08-18 00:09:43 +03:00 |
Lassi Kortela
|
7ac23c6f0b
|
Add scanner interface to "struct buf"
Can be used to easily write simple parsers in C.
|
2019-08-14 13:46:50 +03:00 |
Lassi Kortela
|
44a8208d38
|
Add buf_put_ios() utility function
Fills a "struct buf" with the entire remainder of a stream.
|
2019-08-14 13:39:11 +03:00 |
Lassi Kortela
|
9b737144ea
|
Fix portability bugs uncovered by Alpine Linux/musl libc
|
2019-08-13 14:19:38 +03:00 |
Lassi Kortela
|
c704079cae
|
Add string buffer
TODO: Consider merging with 'struct ios'
|
2019-08-11 22:31:54 +03:00 |