diff options
Diffstat (limited to 'src/strbuf.c')
-rw-r--r-- | src/strbuf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/strbuf.c b/src/strbuf.c index c2a6518e..2082002a 100644 --- a/src/strbuf.c +++ b/src/strbuf.c @@ -87,6 +87,8 @@ void pa_strbuf_puts(struct pa_strbuf *sb, const char *t) { sb->length += l; } +/* The following is based on an example from the GNU libc documentation */ + int pa_strbuf_printf(struct pa_strbuf *sb, const char *format, ...) { int r, size = 100; struct chunk *c = NULL; |