lowdown_buf_new(3)

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.

  1. 11
  2. 12
  3. 13–Arch

From lowdown 3.2.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's mdoc source.