Mercurial > code
diff buf.h @ 127:e00bc8f7eabf
Fixed buf printf
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 07 Mar 2012 10:22:18 +0100 |
parents | b9723c197038 |
children | 2f71e113be63 |
line wrap: on
line diff
--- a/buf.h Wed Mar 07 09:52:52 2012 +0100 +++ b/buf.h Wed Mar 07 10:22:18 2012 +0100 @@ -53,6 +53,8 @@ int buf_cat(struct buf *, const char *); int buf_ncopy(struct buf *, const char *, size_t); int buf_copy(struct buf *, const char *); +int buf_vprintf(struct buf *, const char *, va_list); +int buf_printf(struct buf *, const char *, ...); void buf_clear(struct buf *); void buf_free(struct buf *);