lowdown_buf_new3
Allocate a dynamic buffer
Usage
#include <sys/queue.h>
#include <stdio.h>
#include <lowdown.h>
struct lowdown_buf *
lowdown_buf_new(size_t growsz);
Library
library “liblowdown”
Overview
Allocates a dynamic buffer that grows in increments of size growsz, which may not be zero.
Return values
Returns a pointer to a buffer or NULL on memory failure. The pointer must be freed with lowdown_buf_free(3).
Releases
4 releases since Debian 11 (Bullseye); the text changed 2 times.