add buffer_tosa (buffer writing to auto-growing stralloc)

This commit is contained in:
leitner
2009-02-28 00:07:55 +00:00
parent 1d76baf2ef
commit 02818883df
10 changed files with 56 additions and 13 deletions

View File

@@ -9,4 +9,5 @@ void buffer_init(buffer* b,ssize_t (*op)(),int fd,
b->p=0;
b->n=0;
b->todo=NOTHING;
b->cookie=0;
}