lowdown_buf_new — allocate a dynamic buffer
Contents
Description
Allocates a dynamic buffer that grows in increments of size growsz, which may not be zero.
Library
library “liblowdown”
Name
lowdown_buf_new — allocate a dynamic buffer
Return Values
Returns a pointer to a buffer or NULL on memory failure. The pointer must be freed with
lowdown_buf_free(3).
See Also
lowdown(3) Debian $Mdocdate$ LOWDOWN_BUF_NEW(3)
Synopsis
#include<sys/queue.h>#include<stdio.h>#include<lowdown.h>structlowdown_buf*lowdown_buf_new(size_tgrowsz);
