LOWDOWN_BUF_NEW(3)

NAME
lowdown_buf_new - allocate a dynamic buffer

LIBRARY
liblowdown

SYNOPSIS
#include <sys/queue.h>
#include <stdio.h>
#include <lowdown.h>
struct lowdown_doc *
lowdown_buf_new(size_t growsz);

DESCRIPTION
Allocates a dynamic buffer that grows in increments of size growsz, which may not be zero. It must be freed with a call to lowdown_buf_free(3).

RETURN VALUES
Always returns a valid pointer.

SEE ALSO
lowdown(3)