table of contents
other versions
- trixie 2.0.2-2
- testing 2.0.4-2
- unstable 2.0.4-2
- experimental 3.0.0-1
| LOWDOWN_BUF_NEW(3) | Library Functions Manual | LOWDOWN_BUF_NEW(3) |
NAME¶
lowdown_buf_new —
allocate a dynamic buffer
LIBRARY¶
library “liblowdown”
SYNOPSIS¶
#include
<sys/queue.h>
#include <stdio.h>
#include <lowdown.h>
struct lowdown_buf *
lowdown_buf_new(size_t
growsz);
DESCRIPTION¶
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).
SEE ALSO¶
| March 16, 2026 | Nixpkgs |